public static class Reference2CharFunctions.UnmodifiableFunction<K> extends AbstractReference2CharFunction<K> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.objects.Reference2CharFunction<? extends K> |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.objects.Reference2CharFunction<? extends K> f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object k) |
char |
defaultReturnValue() |
void |
defaultReturnValue(char defRetValue) |
boolean |
equals(java.lang.Object o) |
java.lang.Character |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
getChar(java.lang.Object k) |
char |
getOrDefault(java.lang.Object 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(K k,
char v) |
java.lang.Character |
put(K k,
java.lang.Character v)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Character |
remove(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
removeChar(java.lang.Object k) |
int |
size() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitandThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShortprotected final it.unimi.dsi.fastutil.objects.Reference2CharFunction<? extends K> function
protected UnmodifiableFunction(it.unimi.dsi.fastutil.objects.Reference2CharFunction<? extends K> f)
public int size()
public char defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>defaultReturnValue in class AbstractReference2CharFunction<K>public void defaultReturnValue(char defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>defaultReturnValue in class AbstractReference2CharFunction<K>public boolean containsKey(java.lang.Object k)
public char put(K k, char v)
put in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>public char getChar(java.lang.Object k)
getChar in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>public char getOrDefault(java.lang.Object k,
char defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>public char removeChar(java.lang.Object k)
removeChar in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>public void clear()
@Deprecated public java.lang.Character put(K k, java.lang.Character v)
put in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>@Deprecated public java.lang.Character get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>@Deprecated
public java.lang.Character getOrDefault(java.lang.Object k,
java.lang.Character defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>@Deprecated public java.lang.Character remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.objects.Reference2CharFunction<K>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