void (@NotNull String key, String recentEntry) { LinkedList<String> recents = myMap.get(key); if (recents == null) { recents = new LinkedList<>(); myMap.put(key, recents); } add(recents, recentEntry); }