Skip to content

Instantly share code, notes, and snippets.

@ahornerr
Created September 3, 2014 13:57
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 ahornerr/725f7018bcfcc7ec42f8 to your computer and use it in GitHub Desktop.
Save ahornerr/725f7018bcfcc7ec42f8 to your computer and use it in GitHub Desktop.
//rooms is a list of a certain size size
String[] usage = new String[rooms.size()];
for (Room room : rooms) {
usage[usage.length] = room.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment