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