public static class Byte2BooleanFunctions.SynchronizedFunction
extends java.lang.Object
implements it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction |
function |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction f) |
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction f,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
apply(java.lang.Byte key)
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
clear() |
boolean |
containsKey(byte k) |
boolean |
containsKey(java.lang.Object k)
Deprecated.
|
boolean |
defaultReturnValue() |
void |
defaultReturnValue(boolean defRetValue) |
boolean |
equals(java.lang.Object o) |
boolean |
get(byte k) |
java.lang.Boolean |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
getOrDefault(byte 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(byte k,
boolean v) |
java.lang.Boolean |
put(java.lang.Byte k,
java.lang.Boolean v)
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
remove(byte k) |
java.lang.Boolean |
remove(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
size() |
boolean |
test(int operand)
Deprecated.
Please use the corresponding type-specific method instead.
|
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, composeShortprotected final it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction function
protected final java.lang.Object sync
protected SynchronizedFunction(it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction f,
java.lang.Object sync)
protected SynchronizedFunction(it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction f)
@Deprecated public boolean test(int operand)
test in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctiontest in interface java.util.function.IntPredicate@Deprecated public java.lang.Boolean apply(java.lang.Byte key)
apply in interface java.util.function.Function<java.lang.Byte,java.lang.Boolean>public int size()
public boolean defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic void defaultReturnValue(boolean defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic boolean containsKey(byte k)
containsKey in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction@Deprecated public boolean containsKey(java.lang.Object k)
containsKey in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic boolean put(byte k,
boolean v)
put in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic boolean get(byte k)
get in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic boolean getOrDefault(byte k,
boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic boolean remove(byte k)
remove in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic void clear()
@Deprecated
public java.lang.Boolean put(java.lang.Byte k,
java.lang.Boolean v)
put in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction@Deprecated public java.lang.Boolean get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction@Deprecated
public java.lang.Boolean getOrDefault(java.lang.Object k,
java.lang.Boolean defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunction@Deprecated public java.lang.Boolean remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.bytes.Byte2BooleanFunctionpublic 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