Class FixedInt2IntMap

java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractInt2IntFunction
it.unimi.dsi.fastutil.ints.AbstractInt2IntMap
org.geysermc.geyser.util.collection.FixedInt2IntMap
All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Integer,​Integer>, it.unimi.dsi.fastutil.ints.Int2IntFunction, it.unimi.dsi.fastutil.ints.Int2IntMap, Serializable, Function<Integer,​Integer>, IntUnaryOperator, Map<Integer,​Integer>

public class FixedInt2IntMap extends it.unimi.dsi.fastutil.ints.AbstractInt2IntMap
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2IntMap

    it.unimi.dsi.fastutil.ints.AbstractInt2IntMap.BasicEntry, it.unimi.dsi.fastutil.ints.AbstractInt2IntMap.BasicEntrySet

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2IntMap

    it.unimi.dsi.fastutil.ints.Int2IntMap.Entry, it.unimi.dsi.fastutil.ints.Int2IntMap.FastEntrySet
  • Field Summary

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

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

    defRetValue
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

    equals, hashCode, isEmpty, keySet, mergeInt, putAll, values

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

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

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

    clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, forEach, get, getOrDefault, merge, merge, mergeInt, 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 int[] value
    • start

      protected int start
  • Constructor Details

    • FixedInt2IntMap

      public FixedInt2IntMap()
  • Method Details

    • size

      public int size()
    • int2IntEntrySet

      public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2IntMap.Entry> int2IntEntrySet()
    • get

      public int get(int i)
    • getOrDefault

      public int getOrDefault(int key, int defaultValue)
    • put

      public int put(int key, int value)
    • containsKey

      public boolean containsKey(int k)
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.ints.Int2IntFunction
      Specified by:
      containsKey in interface it.unimi.dsi.fastutil.ints.Int2IntMap
      Overrides:
      containsKey in class it.unimi.dsi.fastutil.ints.AbstractInt2IntMap
    • containsValue

      public boolean containsValue(int v)
      Specified by:
      containsValue in interface it.unimi.dsi.fastutil.ints.Int2IntMap
      Overrides:
      containsValue in class it.unimi.dsi.fastutil.ints.AbstractInt2IntMap
    • toString

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