Created
October 3, 2018 11:58
-
-
Save fisherds/12bb306f0e67a8a478ef45f44237c982 to your computer and use it in GitHub Desktop.
helper method to get a random name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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