public static class Double2ObjectFunctions.UnmodifiableFunction<V> extends AbstractDouble2ObjectFunction<V> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<? extends V> |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<? extends V> f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(double k) |
V |
defaultReturnValue() |
void |
defaultReturnValue(V defRetValue) |
boolean |
equals(java.lang.Object o) |
V |
get(double k) |
V |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
V |
getOrDefault(double k,
V defaultValue) |
V |
getOrDefault(java.lang.Object k,
V defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
V |
put(double k,
V v) |
V |
put(java.lang.Double k,
V v)
Deprecated.
Please use the corresponding type-specific method instead.
|
V |
remove(double k) |
V |
remove(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
size() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitandThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, apply, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, containsKeyprotected final it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<? extends V> function
protected UnmodifiableFunction(it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<? extends V> f)
public int size()
public V defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>defaultReturnValue in class AbstractDouble2ObjectFunction<V>public void defaultReturnValue(V defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>defaultReturnValue in class AbstractDouble2ObjectFunction<V>public boolean containsKey(double k)
containsKey in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public V put(double k, V v)
put in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public V get(double k)
get in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public V getOrDefault(double k, V defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public V remove(double k)
remove in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public void clear()
@Deprecated public V put(java.lang.Double k, V v)
put in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>@Deprecated public V get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>@Deprecated public V getOrDefault(java.lang.Object k, V defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>@Deprecated public V remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.doubles.Double2ObjectFunction<V>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object