Java Map Keyset to Litter
List<String> keys = new ArrayList<>(uniqueRecs.keySet());
Massimo Stefan
List<String> keys = new ArrayList<>(uniqueRecs.keySet());