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 class
CollectionAsMap.Entry
-
Constructor Summary
Constructors Constructor Description CollectionAsMap(Collection<K> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<K,K>>
entrySet()
K
get(Object key)
boolean
isEmpty()
Set<K>
keySet()
K
put(K key, K value)
void
putAll(Map<? extends K,? extends K> m)
K
remove(Object key)
void
setCollecion(Set<K> col)
int
size()
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)
-
-