Skip to content

Instantly share code, notes, and snippets.

@fisherds
Created October 3, 2018 11:58
Show Gist options
  • Select an option

  • Save fisherds/12bb306f0e67a8a478ef45f44237c982 to your computer and use it in GitHub Desktop.

Select an option

Save fisherds/12bb306f0e67a8a478ef45f44237c982 to your computer and use it in GitHub Desktop.
helper method to get a random name
private String getRandomName() {
String[] names = new String[] {
"David Beck", "David Berry", "Ian Berry", "Niall Broderick", "Conor Clancy", "Mary Cronin",
"Matthew Daniels", "Paul Delaney", "Debra Donovan", "Mark Egan", "Anna Hudakova",
"Brian Hyland", "Emer Kennedy Ozdemir", "Senan O'Callaghan", "Thomas O'Connor",
"Cahir O'Leary", "Deirdre O'Loughlin", "Adrian O'Sullivan", "Istvan Orosz", "Mark Quigley",
"Deirdre Shanahan", "Kevin St John", "Sergejs Sushinskis"
};
return names[mRandom.nextInt(names.length)];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment