- java.lang.Object
-
- swim.structure.collections.ValueMap<K,V>
-
- swim.structure.collections.ValueIterableMap<K,V>
-
- All Implemented Interfaces:
Iterable<Map.Entry<K,V>>
,Map<K,V>
,IterableMap<K,V>
- Direct Known Subclasses:
ValueOrderedMap
public class ValueIterableMap<K,V> extends ValueMap<K,V> implements IterableMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description ValueIterableMap(IterableMap<? extends Value,? extends Value> inner, Form<K> keyForm, Form<V> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IterableMap<Value,Value>
inner()
Cursor<Map.Entry<K,V>>
iterator()
<K2> ValueIterableMap<K2,V>
keyClass(Class<K2> keyClass)
<K2> ValueIterableMap<K2,V>
keyForm(Form<K2> keyForm)
Cursor<K>
keyIterator()
<V2> ValueIterableMap<K,V2>
valueClass(Class<V2> valueClass)
<V2> ValueIterableMap<K,V2>
valueForm(Form<V2> valueForm)
Cursor<V>
valueIterator()
-
Methods inherited from class swim.structure.collections.ValueMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keyForm, keySet, put, putAll, remove, size, toString, valueForm, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface swim.util.IterableMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
keyForm
public <K2> ValueIterableMap<K2,V> keyForm(Form<K2> keyForm)
-
keyClass
public <K2> ValueIterableMap<K2,V> keyClass(Class<K2> keyClass)
-
valueForm
public <V2> ValueIterableMap<K,V2> valueForm(Form<V2> valueForm)
-
valueClass
public <V2> ValueIterableMap<K,V2> valueClass(Class<V2> valueClass)
- Overrides:
valueClass
in classValueMap<K,V>
-
keyIterator
public Cursor<K> keyIterator()
- Specified by:
keyIterator
in interfaceIterableMap<K,V>
-
valueIterator
public Cursor<V> valueIterator()
- Specified by:
valueIterator
in interfaceIterableMap<K,V>
-
-