Package org.javlo.utils
Class ListAsMap<K>
- java.lang.Object
-
- org.javlo.utils.ListAsMap<K>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classListAsMap.Entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<Integer,K>>entrySet()Kget(Object key)booleanisEmpty()Set<Integer>keySet()Kput(Integer key, K value)voidputAll(Map<? extends Integer,? 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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<Integer,K>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<Integer,K>
-
-