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