Created
November 23, 2016 00:19
-
-
Save ZahidRasheed/4dca926d1cedb81b73fdf0fd291836a3 to your computer and use it in GitHub Desktop.
This file contains 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
public final class StringUtils { | |
public static String getRandomName() { | |
List<String> names = new ArrayList<>(Arrays.asList("Durante Waldo", | |
"Iolyn Szilveszter", | |
"Ibragim Landebert", | |
"Kenelm Konrad", | |
"Adam Ercanbald")); | |
return names.get(new Random().nextInt(names.size())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment