Package org.ojalgo.type.keyvalue
Interface EntryPair<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
Singleton (immutable)
Map
:s with primitive valued specialisations.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static final class
static final class
static final class
static final class
static final class
static final class
static final class
Nested classes/interfaces inherited from interface org.ojalgo.type.keyvalue.KeyValue
KeyValue.Dual<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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) asKeyTo
(T value) asValueTo
(T key) default void
clear()
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
default void
default V
default V
default int
size()
Methods inherited from interface org.ojalgo.type.keyvalue.KeyValue
first, getKey, getValue, left, right, second
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, values
-
Method Details
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
asKeyTo
-
asKeyTo
-
asKeyTo
-
asKeyTo
-
asKeyTo
-
asKeyTo
-
asKeyTo
-
asValueTo
-
clear
default void clear() -
entrySet
-
isEmpty
default boolean isEmpty() -
put
-
putAll
-
remove
-
setValue
-
size
default int size()
-