Class FixedInt2ByteMap
java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractInt2ByteFunction
it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
org.geysermc.geyser.util.collection.FixedInt2ByteMap
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Integer,Byte>,it.unimi.dsi.fastutil.ints.Int2ByteFunction,it.unimi.dsi.fastutil.ints.Int2ByteMap,Serializable,Function<Integer,Byte>,IntUnaryOperator,Map<Integer,Byte>
public class FixedInt2ByteMap
extends it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap.BasicEntry, it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap.BasicEntrySetNested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2ByteMap
it.unimi.dsi.fastutil.ints.Int2ByteMap.Entry, it.unimi.dsi.fastutil.ints.Int2ByteMap.FastEntrySet -
Field Summary
FieldsFields inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteFunction
defRetValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(int k)booleancontainsValue(byte v)byteget(int i)bytegetOrDefault(int key, byte defaultValue)it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2ByteMap.Entry>byteput(int key, byte value)intsize()toString()Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
equals, hashCode, isEmpty, keySet, putAll, valuesMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteFunction
defaultReturnValue, defaultReturnValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.Function
applyMethods inherited from interface it.unimi.dsi.fastutil.ints.Int2ByteFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, removeMethods inherited from interface it.unimi.dsi.fastutil.ints.Int2ByteMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, forEach, get, getOrDefault, merge, merge, mergeByte, mergeByte, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replaceMethods inherited from interface java.util.function.IntUnaryOperator
andThen, composeMethods inherited from interface java.util.Map
replaceAll
-
Field Details
-
value
protected byte[] value -
start
protected int start
-
-
Constructor Details
-
FixedInt2ByteMap
public FixedInt2ByteMap()
-
-
Method Details
-
size
public int size() -
int2ByteEntrySet
public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2ByteMap.Entry> int2ByteEntrySet() -
get
public byte get(int i) -
getOrDefault
public byte getOrDefault(int key, byte defaultValue) -
put
public byte put(int key, byte value) -
containsKey
public boolean containsKey(int k)- Specified by:
containsKeyin interfaceit.unimi.dsi.fastutil.ints.Int2ByteFunction- Specified by:
containsKeyin interfaceit.unimi.dsi.fastutil.ints.Int2ByteMap- Overrides:
containsKeyin classit.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
-
containsValue
public boolean containsValue(byte v)- Specified by:
containsValuein interfaceit.unimi.dsi.fastutil.ints.Int2ByteMap- Overrides:
containsValuein classit.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
-
toString
- Overrides:
toStringin classit.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
-