Java Map Keyset a la lista
List<String> keys = new ArrayList<>(uniqueRecs.keySet());
Massimo Stefan
List<String> keys = new ArrayList<>(uniqueRecs.keySet());