public static class Reference2BooleanFunctions.SynchronizedFunction<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> |
function |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f) |
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
apply(K key)
Deprecated.
Please use the corresponding type-specific method instead.
|
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() |
boolean |
test(K operand) |
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, composeShortprotected final it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> function
protected final java.lang.Object sync
protected SynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f, java.lang.Object sync)
protected SynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f)
public boolean test(K operand)
@Deprecated public java.lang.Boolean apply(K key)
apply in interface java.util.function.Function<K,java.lang.Boolean>public int size()
public boolean defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>public void defaultReturnValue(boolean defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<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