V - the keyType of elements maintained by this Collectionpublic interface FloatObjectPair<V>
| Modifier and Type | Field and Description |
|---|---|
static FloatObjectPair<?> |
EMPTY
Empty Reference for Immutable Pairs
|
| Modifier and Type | Method and Description |
|---|---|
float |
getFloatKey() |
V |
getValue() |
static <V> FloatObjectPair<V> |
mutable() |
static <V> FloatObjectPair<V> |
mutable(FloatObjectPair<V> pair) |
static <V> FloatObjectPair<V> |
mutable(float key,
V value) |
static <V> FloatObjectPair<V> |
mutableKey(float key) |
static <V> FloatObjectPair<V> |
mutableValue(V value) |
static <V> FloatObjectPair<V> |
of() |
static <V> FloatObjectPair<V> |
of(FloatObjectPair<V> pair) |
static <V> FloatObjectPair<V> |
of(float key,
V value) |
static <V> FloatObjectPair<V> |
ofKey(float key) |
static <V> FloatObjectPair<V> |
ofValue(V value) |
FloatObjectPair<V> |
set(float key,
V value)
Sets key and value of the Pair
|
FloatObjectPair<V> |
setFloatKey(float key)
Sets the Key of the Pair.
|
FloatObjectPair<V> |
setValue(V value)
Sets the Value of the Pair.
|
FloatObjectPair<V> |
shallowCopy()
Clones the Pair if it is mutable.
|
static final FloatObjectPair<?> EMPTY
static <V> FloatObjectPair<V> of()
V - the keyType of elements maintained by this Collectionstatic <V> FloatObjectPair<V> ofKey(float key)
V - the keyType of elements maintained by this Collectionkey - the key that should be in the pairstatic <V> FloatObjectPair<V> ofValue(V value)
V - the keyType of elements maintained by this Collectionvalue - the value that should be in the pairstatic <V> FloatObjectPair<V> of(float key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be in the pairvalue - the value that should be in the pairstatic <V> FloatObjectPair<V> of(FloatObjectPair<V> pair)
V - the keyType of elements maintained by this Collectionpair - the Pair that should be immutably copiedstatic <V> FloatObjectPair<V> mutable()
V - the keyType of elements maintained by this Collectionstatic <V> FloatObjectPair<V> mutableKey(float key)
V - the keyType of elements maintained by this Collectionkey - the key that should be in the pairstatic <V> FloatObjectPair<V> mutableValue(V value)
V - the keyType of elements maintained by this Collectionvalue - the value that should be in the pairstatic <V> FloatObjectPair<V> mutable(float key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be in the pairvalue - the value that should be in the pairstatic <V> FloatObjectPair<V> mutable(FloatObjectPair<V> pair)
V - the keyType of elements maintained by this Collectionpair - the Pair that should be copiedFloatObjectPair<V> setFloatKey(float key)
key - the key that should be set.float getFloatKey()
FloatObjectPair<V> setValue(V value)
value - the value that should be set.V getValue()
FloatObjectPair<V> set(float key, V value)
key - the key that should be set.value - the value that should be set.FloatObjectPair<V> shallowCopy()