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 booleanadd(K1 key1, K2 key2, V value)Vensure(K1 key1, K2 key2, Function<? super K2,V> valueSupplier)EqHashTable<K1,EqHashTable<K2,V>>get()EqHashTable<K2,V>get(K1 key1)Vget(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)booleanput(K1 key1, K2 key2, V value)
-
-
-
Method Detail
-
New
public static final <K1,K2,V> EqHash2DMap<K1,K2,V> New()
-
New
public static final <K1,K2,V> EqHash2DMap<K1,K2,V> New(HashEqualator<K1> k1HashEqualator, HashEqualator<K2> k2HashEqualator)
-
iterate
public final <P extends Consumer<? super KeyValue<K1,? extends XGettingMap<K2,V>>>> P iterate(P procedure)
-
get
public final EqHashTable<K1,EqHashTable<K2,V>> get()
- Specified by:
getin interfaceXGetting2DMap<K1,K2,V>
-
get
public final EqHashTable<K2,V> get(K1 key1)
- Specified by:
getin interfaceXGetting2DMap<K1,K2,V>
-
iterateKeys1
public final <PK1 extends Consumer<? super K1>> PK1 iterateKeys1(PK1 procedure)
- Specified by:
iterateKeys1in interfaceXGetting2DMap<K1,K2,V>
-
iterateKeys2
public final <PK2 extends Consumer<? super K2>> PK2 iterateKeys2(PK2 procedure)
- Specified by:
iterateKeys2in interfaceXGetting2DMap<K1,K2,V>
-
iterateValues
public final <PV extends Consumer<? super V>> PV iterateValues(PV procedure)
- Specified by:
iterateValuesin interfaceXGetting2DMap<K1,K2,V>
-
iterateInnerEntries
public <PIE extends Consumer<? super KeyValue<K2,V>>> PIE iterateInnerEntries(PIE procedure)
- Specified by:
iterateInnerEntriesin interfaceXGetting2DMap<K1,K2,V>
-
-