Class FixedInt2BooleanMap
java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
org.geysermc.geyser.util.collection.FixedInt2BooleanMap
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Integer,Boolean>
,it.unimi.dsi.fastutil.ints.Int2BooleanFunction
,it.unimi.dsi.fastutil.ints.Int2BooleanMap
,Serializable
,Function<Integer,Boolean>
,IntPredicate
,Map<Integer,Boolean>
- Direct Known Subclasses:
LecternHasBookMap
public class FixedInt2BooleanMap
extends it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap.BasicEntry, it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap.BasicEntrySet
Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2BooleanMap
it.unimi.dsi.fastutil.ints.Int2BooleanMap.Entry, it.unimi.dsi.fastutil.ints.Int2BooleanMap.FastEntrySet
-
Field Summary
Fields inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
defRetValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey(int k)
boolean
containsValue(boolean v)
boolean
get(int i)
boolean
getOrDefault(int key, boolean defaultValue)
it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2BooleanMap.Entry>
boolean
put(int key, boolean value)
int
size()
toString()
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
equals, hashCode, isEmpty, keySet, putAll, values
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
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.Int2BooleanFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, remove, test
Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2BooleanMap
clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, forEach, get, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace
Methods inherited from interface java.util.function.IntPredicate
and, negate, or
Methods inherited from interface java.util.Map
replaceAll
-
Field Details
-
value
protected boolean[] value -
start
protected int start
-
-
Constructor Details
-
FixedInt2BooleanMap
public FixedInt2BooleanMap()
-
-
Method Details
-
size
public int size() -
int2BooleanEntrySet
public it.unimi.dsi.fastutil.objects.ObjectSet<it.unimi.dsi.fastutil.ints.Int2BooleanMap.Entry> int2BooleanEntrySet() -
get
public boolean get(int i) -
getOrDefault
public boolean getOrDefault(int key, boolean defaultValue) -
put
public boolean put(int key, boolean value) -
containsKey
public boolean containsKey(int k)- Specified by:
containsKey
in interfaceit.unimi.dsi.fastutil.ints.Int2BooleanFunction
- Specified by:
containsKey
in interfaceit.unimi.dsi.fastutil.ints.Int2BooleanMap
- Overrides:
containsKey
in classit.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
-
containsValue
public boolean containsValue(boolean v)- Specified by:
containsValue
in interfaceit.unimi.dsi.fastutil.ints.Int2BooleanMap
- Overrides:
containsValue
in classit.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
-
toString
- Overrides:
toString
in classit.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
-