-
- All Superinterfaces:
KeyValue<K,V>,java.util.Map<K,V>,java.util.Map.Entry<K,V>
- All Known Subinterfaces:
EntryPair.KeyedPrimitive<K>
- All Known Implementing Classes:
AlphaVantageParser.Data,DatePrice,DatePrice.DefaultDP,EntryPair.ObjectByte,EntryPair.ObjectDouble,EntryPair.ObjectFloat,EntryPair.ObjectInt,EntryPair.ObjectLong,EntryPair.ObjectObject,EntryPair.ObjectShort,IEXTradingParser.Data,YahooParser.Data
public interface EntryPair<K,V> extends KeyValue<K,V>, java.util.Map<K,V>, java.util.Map.Entry<K,V>
Singleton (immutable)Map:s with primitive valued specialisations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEntryPair.KeyedPrimitive<K>static classEntryPair.ObjectByte<K>static classEntryPair.ObjectDouble<K>static classEntryPair.ObjectFloat<K>static classEntryPair.ObjectInt<K>static classEntryPair.ObjectLong<K>static classEntryPair.ObjectObject<K,V>static classEntryPair.ObjectShort<K>-
Nested classes/interfaces inherited from interface org.ojalgo.type.keyvalue.KeyValue
KeyValue.Dual<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(byte value)default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(double value)default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(float value)default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(int value)default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(long value)default EntryPair.KeyedPrimitive<EntryPair<K,V>>asKeyTo(short value)default <T> EntryPair<EntryPair<K,V>,T>asKeyTo(T value)default <T> EntryPair<T,EntryPair<K,V>>asValueTo(T key)default voidclear()default java.util.Set<java.util.Map.Entry<K,V>>entrySet()default booleanisEmpty()static <K> EntryPair.KeyedPrimitive<K>of(K key, byte value)static <K> EntryPair.KeyedPrimitive<K>of(K key, double value)static <K> EntryPair.KeyedPrimitive<K>of(K key, float value)static <K> EntryPair.KeyedPrimitive<K>of(K key, int value)static <K> EntryPair.KeyedPrimitive<K>of(K key, long value)static <K> EntryPair.KeyedPrimitive<K>of(K key, short value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, byte value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, double value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, float value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, int value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, long value)static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>>of(K key1, K key2, short value)static <K,V>
EntryPair<KeyValue.Dual<K>,V>of(K key1, K key2, V value)static <K,V>
EntryPair<K,V>of(K key, V value)default Vput(K key, V value)default voidputAll(java.util.Map<? extends K,? extends V> m)default Vremove(java.lang.Object key)default VsetValue(V value)default intsize()-
Methods inherited from interface org.ojalgo.type.keyvalue.KeyValue
first, getKey, getValue, left, right, second
-
-
-
-
Method Detail
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, byte value)
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, double value)
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, float value)
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, int value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, byte value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, double value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, float value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, int value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, long value)
-
of
static <K> EntryPair.KeyedPrimitive<KeyValue.Dual<K>> of(K key1, K key2, short value)
-
of
static <K,V> EntryPair<KeyValue.Dual<K>,V> of(K key1, K key2, V value)
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, long value)
-
of
static <K> EntryPair.KeyedPrimitive<K> of(K key, short value)
-
of
static <K,V> EntryPair<K,V> of(K key, V value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(byte value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(double value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(float value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(int value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(long value)
-
asKeyTo
default EntryPair.KeyedPrimitive<EntryPair<K,V>> asKeyTo(short value)
-
remove
default V remove(java.lang.Object key)
-
-