Skip to content

Instantly share code, notes, and snippets.

@veb
Created June 29, 2014 06:02
Show Gist options
  • Save veb/3d6fd2e5440b34628512 to your computer and use it in GitHub Desktop.
Save veb/3d6fd2e5440b34628512 to your computer and use it in GitHub Desktop.
for (int i = 0; i < tokens.size(); i++) {
HashTagEntry hashtagEntry = new HashTagEntry();
hashtagEntry.setTag(tokens.get(i));
hashtagEntry.setEntry(journalEntry);
hashtagEntry.save();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment