Package org.javlo.utils
Class CollectionAsMap<K>
- java.lang.Object
-
- org.javlo.utils.CollectionAsMap<K>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCollectionAsMap.Entry
-
Constructor Summary
Constructors Constructor Description CollectionAsMap(Collection<K> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<K,K>>entrySet()Kget(Object key)booleanisEmpty()Set<K>keySet()Kput(K key, K value)voidputAll(Map<? extends K,? extends K> m)Kremove(Object key)voidsetCollecion(Set<K> col)intsize()Collection<K>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
CollectionAsMap
public CollectionAsMap(Collection<K> collection)
-
-