public static class Reference2BooleanFunctions.UnmodifiableFunction<K> extends AbstractReference2BooleanFunction<K> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<? extends K> |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<? extends K> f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object k) |
boolean |
defaultReturnValue() |
void |
defaultReturnValue(boolean defRetValue) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
getBoolean(java.lang.Object k) |
boolean |
getOrDefault(java.lang.Object k,
boolean defaultValue) |
java.lang.Boolean |
getOrDefault(java.lang.Object k,
java.lang.Boolean defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
boolean |
put(K k,
boolean v) |
java.lang.Boolean |
put(K k,
java.lang.Boolean v)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Boolean |
remove(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
removeBoolean(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, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, testprotected final it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<? extends K> function
protected UnmodifiableFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<? extends K> f)
public int size()
public boolean defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>defaultReturnValue in class AbstractReference2BooleanFunction<K>public void defaultReturnValue(boolean defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>defaultReturnValue in class AbstractReference2BooleanFunction<K>public boolean containsKey(java.lang.Object k)
public boolean put(K k, boolean v)
put in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>public boolean getBoolean(java.lang.Object k)
getBoolean in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>public boolean getOrDefault(java.lang.Object k,
boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>public boolean removeBoolean(java.lang.Object k)
removeBoolean in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>public void clear()
@Deprecated public java.lang.Boolean put(K k, java.lang.Boolean v)
put in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>@Deprecated public java.lang.Boolean get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>@Deprecated
public java.lang.Boolean getOrDefault(java.lang.Object k,
java.lang.Boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>@Deprecated public java.lang.Boolean remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<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