Package one.microstream.collections
Class EqHash2DMap<K1,K2,V>
java.lang.Object
one.microstream.collections.EqHash2DMap<K1,K2,V>
- All Implemented Interfaces:
X2DMap<K1,K2,V>
,XGetting2DMap<K1,K2,V>
,XIterable<KeyValue<K1,? extends XGettingMap<K2,V>>>
,Composition
public final class EqHash2DMap<K1,K2,V> extends Object implements X2DMap<K1,K2,V>, Composition
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
Constructor Summary
Constructors Constructor Description EqHash2DMap()
-
Method Summary
Modifier and Type Method Description boolean
add(K1 key1, K2 key2, V value)
V
ensure(K1 key1, K2 key2, Function<? super K2,V> valueSupplier)
EqHashTable<K1,EqHashTable<K2,V>>
get()
EqHashTable<K2,V>
get(K1 key1)
V
get(K1 key1, K2 key2)
<P extends Consumer<? super KeyValue<K1, ? extends XGettingMap<K2, V>>>>
Piterate(P procedure)
<PIE extends Consumer<? super KeyValue<K2, V>>>
PIEiterateInnerEntries(PIE procedure)
<PK1 extends Consumer<? super K1>>
PK1iterateKeys1(PK1 procedure)
<PK2 extends Consumer<? super K2>>
PK2iterateKeys2(PK2 procedure)
<PV extends Consumer<? super V>>
PViterateValues(PV procedure)
static <K1, K2, V> EqHash2DMap<K1,K2,V>
New()
static <K1, K2, V> EqHash2DMap<K1,K2,V>
New(HashEqualator<K1> k1HashEqualator, HashEqualator<K2> k2HashEqualator)
boolean
put(K1 key1, K2 key2, V value)
-
Constructor Details
-
EqHash2DMap
public EqHash2DMap()
-
-
Method Details
-
New
-
New
public static final <K1, K2, V> EqHash2DMap<K1,K2,V> New(HashEqualator<K1> k1HashEqualator, HashEqualator<K2> k2HashEqualator) -
iterate
-
get
- Specified by:
get
in interfaceXGetting2DMap<K1,K2,V>
-
get
- Specified by:
get
in interfaceXGetting2DMap<K1,K2,V>
-
get
- Specified by:
get
in interfaceXGetting2DMap<K1,K2,V>
-
add
-
put
-
ensure
-
iterateKeys1
- Specified by:
iterateKeys1
in interfaceXGetting2DMap<K1,K2,V>
-
iterateKeys2
- Specified by:
iterateKeys2
in interfaceXGetting2DMap<K1,K2,V>
-
iterateValues
- Specified by:
iterateValues
in interfaceXGetting2DMap<K1,K2,V>
-
iterateInnerEntries
- Specified by:
iterateInnerEntries
in interfaceXGetting2DMap<K1,K2,V>
-