public static class Long2FloatFunctions.UnmodifiableFunction extends AbstractLong2FloatFunction implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.longs.Long2FloatFunction |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.longs.Long2FloatFunction f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(long k) |
float |
defaultReturnValue() |
void |
defaultReturnValue(float defRetValue) |
boolean |
equals(java.lang.Object o) |
float |
get(long k) |
java.lang.Float |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
getOrDefault(long k,
float defaultValue) |
java.lang.Float |
getOrDefault(java.lang.Object k,
java.lang.Float defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
float |
put(long k,
float v) |
java.lang.Float |
put(java.lang.Long k,
java.lang.Float v)
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
remove(long k) |
java.lang.Float |
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, waitandThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsDouble, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, containsKeyprotected UnmodifiableFunction(it.unimi.dsi.fastutil.longs.Long2FloatFunction f)
public int size()
public float defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctiondefaultReturnValue in class AbstractLong2FloatFunctionpublic void defaultReturnValue(float defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctiondefaultReturnValue in class AbstractLong2FloatFunctionpublic boolean containsKey(long k)
containsKey in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic float put(long k,
float v)
put in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic float get(long k)
get in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic float getOrDefault(long k,
float defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic float remove(long k)
remove in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic void clear()
@Deprecated
public java.lang.Float put(java.lang.Long k,
java.lang.Float v)
put in interface it.unimi.dsi.fastutil.longs.Long2FloatFunction@Deprecated public java.lang.Float get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.longs.Long2FloatFunction@Deprecated
public java.lang.Float getOrDefault(java.lang.Object k,
java.lang.Float defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2FloatFunction@Deprecated public java.lang.Float remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.longs.Long2FloatFunctionpublic 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