Collection<V> () { if (isEmpty()) return Collections.emptyList(); ArrayList<V> result = new ArrayList<>(); for (Entry<K, V> entry : entrySet()) { result.add(entry.getValue()); } return Collections.unmodifiableCollection(result); }