Class Long2IntArraySortedMap
java.lang.Object
ca.spottedleaf.common.map.longs.Long2IntArraySortedMap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcomputeIfAbsent(long key, it.unimi.dsi.fastutil.longs.Long2IntFunction producer) intget(long key) intgetFloor(long key) intput(long key, int value)
-
Field Details
-
key
protected long[] key -
val
protected int[] val -
size
protected int size
-
-
Constructor Details
-
Long2IntArraySortedMap
public Long2IntArraySortedMap()
-
-
Method Details
-
put
public int put(long key, int value) -
computeIfAbsent
public int computeIfAbsent(long key, it.unimi.dsi.fastutil.longs.Long2IntFunction producer) -
get
public int get(long key) -
getFloor
public int getFloor(long key)
-