public interface Int2BooleanOrderedMap extends Int2BooleanMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Int2BooleanOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Int2BooleanMap.BuilderCache, Int2BooleanMap.Entry, Int2BooleanMap.FastEntrySet, Int2BooleanMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Int2BooleanOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
int |
firstIntKey()
A method to get the first Key of a Map.
|
boolean |
getAndMoveToFirst(int key)
A Specific get method that allows to move teh given key/value int the first index.
|
boolean |
getAndMoveToLast(int key)
A Specific get method that allows to move teh given key/value int the last index.
|
ObjectOrderedSet<Int2BooleanMap.Entry> |
int2BooleanEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
IntOrderedSet |
keySet() |
boolean |
lastBooleanValue()
A method to get the last Value of a Map.
|
int |
lastIntKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(int key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(int key)
A specific move method to move a given key/value to the last index.
|
int |
pollFirstIntKey()
A method to get and remove the first Key of a Map.
|
int |
pollLastIntKey()
A method to get and remove the last Key of a Map.
|
boolean |
putAndMoveToFirst(int key,
boolean value)
A customized put method that allows you to insert into the first index.
|
boolean |
putAndMoveToLast(int key,
boolean value)
A customized put method that allows you to insert into the last index.
|
default Int2BooleanOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Int2BooleanOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Int2BooleanOrderedMap |
unmodifiable()
Creates a Wrapped SortedMap that is unmodifiable
|
builder, compute, computeBoolean, computeBooleanIfAbsent, computeBooleanIfPresent, computeIfAbsent, computeIfPresent, containsKey, containsKey, containsValue, containsValue, entrySet, forEach, forEach, get, get, getDefaultReturnValue, getOrDefault, getOrDefault, merge, mergeAllBoolean, mergeBoolean, put, put, put, put, putAll, putAll, putAll, putAll, putAll, putAllIfAbsent, putIfAbsent, putIfAbsent, remove, remove, remove, remove, removeOrDefault, replace, replace, replace, replace, replaceAll, replaceBooleans, replaceBooleans, setDefaultReturnValue, supplyBooleanIfAbsent, test, valuesboolean putAndMoveToFirst(int key,
boolean value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean putAndMoveToLast(int key,
boolean value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(int key)
key - that should be moved to the first indexboolean moveToLast(int key)
key - that should be moved to the first lastboolean getAndMoveToFirst(int key)
key - that is searched forboolean getAndMoveToLast(int key)
key - that is searched forint firstIntKey()
int pollFirstIntKey()
int lastIntKey()
int pollLastIntKey()
boolean firstBooleanValue()
boolean lastBooleanValue()
Int2BooleanOrderedMap copy()
Int2BooleanMapcopy in interface Int2BooleanMapIntOrderedSet keySet()
keySet in interface Int2BooleanMapkeySet in interface java.util.Map<java.lang.Integer,java.lang.Boolean>ObjectOrderedSet<Int2BooleanMap.Entry> int2BooleanEntrySet()
Int2BooleanMapint2BooleanEntrySet in interface Int2BooleanMapdefault Int2BooleanOrderedMap synchronize()
synchronize in interface Int2BooleanMapInt2BooleanMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2BooleanMap)default Int2BooleanOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Int2BooleanMapmutex - is the controller of the synchronization blockInt2BooleanMaps.synchronize(speiger.src.collections.ints.maps.interfaces.Int2BooleanMap)default Int2BooleanOrderedMap unmodifiable()
unmodifiable in interface Int2BooleanMapInt2BooleanMaps.unmodifiable(speiger.src.collections.ints.maps.interfaces.Int2BooleanMap)