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 class
ListAsMap.Entry
-
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<Integer,K>>
entrySet()
K
get(Object key)
boolean
isEmpty()
Set<Integer>
keySet()
K
put(Integer key, K value)
void
putAll(Map<? extends Integer,? 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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<Integer,K>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<Integer,K>
-
-