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