Skip to content

Instantly share code, notes, and snippets.

@cosbor11
Created July 14, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosbor11/65f856804099590f5b040b4195015081 to your computer and use it in GitHub Desktop.
Save cosbor11/65f856804099590f5b040b4195015081 to your computer and use it in GitHub Desktop.
Get and print out all of the entites in the LazyQueryCollection
for (int i = 0; i < allPlayers.size(); i++)
{
final Player player = allPlayers.get(i); // retreives the Player when invoked
System.out.println(player.getFirstName() + " " + player.getLastName());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment