Memo entry.
List<String> keysAsArray = new ArrayList<>(map.keySet()); Random random = new Random(); String key = keysAsArray.get(random.nextInt(keysAsArray.size())); String value = map.get(key);
Recommended Posts