- java.lang.Object
-
- swim.structure.collections.ValueMap<K,V>
-
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
ValueIterableMap
,ValueSortedMap
public class ValueMap<K,V> extends Object implements Map<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object keyObject)
boolean
containsValue(Object valueObject)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object other)
V
get(Object keyObject)
int
hashCode()
Map<Value,Value>
inner()
boolean
isEmpty()
<K2> ValueMap<K2,V>
keyClass(Class<K2> keyClass)
Form<K>
keyForm()
<K2> ValueMap<K2,V>
keyForm(Form<K2> keyForm)
Set<K>
keySet()
V
put(K keyObject, V newValueObject)
void
putAll(Map<? extends K,? extends V> map)
V
remove(Object keyObject)
int
size()
String
toString()
<V2> ValueMap<K,V2>
valueClass(Class<V2> valueClass)
Form<V>
valueForm()
<V2> ValueMap<K,V2>
valueForm(Form<V2> valueForm)
Collection<V>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object keyObject)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object valueObject)
- Specified by:
containsValue
in interfaceMap<K,V>
-
equals
public boolean equals(Object other)
-
hashCode
public int hashCode()
-
-