ZahidRasheed
11/23/2016 - 12:19 AM

StringUtils.java

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()));
    }
}