public static class Int2LongFunctions.UnmodifiableFunction extends AbstractInt2LongFunction implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.ints.Int2LongFunction |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.ints.Int2LongFunction f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(int k) |
long |
defaultReturnValue() |
void |
defaultReturnValue(long defRetValue) |
boolean |
equals(java.lang.Object o) |
long |
get(int k) |
java.lang.Long |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
getOrDefault(int k,
long defaultValue) |
java.lang.Long |
getOrDefault(java.lang.Object k,
java.lang.Long defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
java.lang.Long |
put(java.lang.Integer k,
java.lang.Long v)
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
put(int k,
long v) |
long |
remove(int k) |
java.lang.Long |
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, applyAsLong, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, containsKeyprotected UnmodifiableFunction(it.unimi.dsi.fastutil.ints.Int2LongFunction f)
public int size()
public long defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2LongFunctiondefaultReturnValue in class AbstractInt2LongFunctionpublic void defaultReturnValue(long defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2LongFunctiondefaultReturnValue in class AbstractInt2LongFunctionpublic boolean containsKey(int k)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic long put(int k,
long v)
put in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic long get(int k)
get in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic long getOrDefault(int k,
long defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic long remove(int k)
remove in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic void clear()
@Deprecated
public java.lang.Long put(java.lang.Integer k,
java.lang.Long v)
put in interface it.unimi.dsi.fastutil.ints.Int2LongFunction@Deprecated public java.lang.Long get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.ints.Int2LongFunction@Deprecated
public java.lang.Long getOrDefault(java.lang.Object k,
java.lang.Long defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2LongFunction@Deprecated public java.lang.Long remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.ints.Int2LongFunctionpublic 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