Package org.ojalgo.type.keyvalue
Interface EntryPair<K,V>
-
- 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 interface
EntryPair.KeyedPrimitive<K>
static class
EntryPair.ObjectByte<K>
static class
EntryPair.ObjectDouble<K>
static class
EntryPair.ObjectFloat<K>
static class
EntryPair.ObjectInt<K>
static class
EntryPair.ObjectLong<K>
static class
EntryPair.ObjectObject<K,V>
static class
EntryPair.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 void
clear()
default java.util.Set<java.util.Map.Entry<K,V>>
entrySet()
default boolean
isEmpty()
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 V
put(K key, V value)
default void
putAll(java.util.Map<? extends K,? extends V> m)
default V
remove(java.lang.Object key)
default V
setValue(V value)
default int
size()
-
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)
-
-