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.BasicEntrySet

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected byte[]
     

    Fields inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteFunction

    defRetValue
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    containsKey​(int k)
     
    boolean
    containsValue​(byte v)
     
    byte
    get​(int i)
     
    byte
    getOrDefault​(int key, byte defaultValue)
     
    it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2ByteMap.Entry>
     
    byte
    put​(int key, byte value)
     
    int
     
     

    Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap

    equals, hashCode, isEmpty, keySet, putAll, values

    Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2ByteFunction

    defaultReturnValue, defaultReturnValue

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface it.unimi.dsi.fastutil.Function

    apply

    Methods 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, remove

    Methods 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, replace

    Methods inherited from interface java.util.function.IntUnaryOperator

    andThen, compose

    Methods 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:
      containsKey in interface it.unimi.dsi.fastutil.ints.Int2ByteFunction
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.ints.Int2ByteMap
      Overrides:
      containsKey in class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
    • containsValue

      public boolean containsValue(byte v)
      Specified by:
      containsValue in interface it.unimi.dsi.fastutil.ints.Int2ByteMap
      Overrides:
      containsValue in class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap
    • toString

      public String toString()
      Overrides:
      toString in class it.unimi.dsi.fastutil.ints.AbstractInt2ByteMap