public static class Long2BooleanFunctions.UnmodifiableFunction extends AbstractLong2BooleanFunction implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.longs.Long2BooleanFunction |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.longs.Long2BooleanFunction f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(long k) |
boolean |
defaultReturnValue() |
void |
defaultReturnValue(boolean defRetValue) |
boolean |
equals(java.lang.Object o) |
boolean |
get(long k) |
java.lang.Boolean |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
getOrDefault(long 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(long k,
boolean v) |
java.lang.Boolean |
put(java.lang.Long k,
java.lang.Boolean v)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
remove(long 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.longs.Long2BooleanFunction f)
public int size()
public boolean defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctiondefaultReturnValue in class AbstractLong2BooleanFunctionpublic void defaultReturnValue(boolean defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctiondefaultReturnValue in class AbstractLong2BooleanFunctionpublic boolean containsKey(long k)
containsKey in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic boolean put(long k,
boolean v)
put in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic boolean get(long k)
get in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic boolean getOrDefault(long k,
boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic boolean remove(long k)
remove in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic void clear()
@Deprecated
public java.lang.Boolean put(java.lang.Long k,
java.lang.Boolean v)
put in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunction@Deprecated public java.lang.Boolean get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunction@Deprecated
public java.lang.Boolean getOrDefault(java.lang.Object k,
java.lang.Boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunction@Deprecated public java.lang.Boolean remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.longs.Long2BooleanFunctionpublic 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