public interface Short2BooleanOrderedMap extends Short2BooleanMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Short2BooleanOrderedMap.FastOrderedSet
Fast Ordered Entry Set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
|
Short2BooleanMap.BuilderCache, Short2BooleanMap.Entry, Short2BooleanMap.FastEntrySet, Short2BooleanMap.MapBuilder| Modifier and Type | Method and Description |
|---|---|
Short2BooleanOrderedMap |
copy()
A Function that does a shallow clone of the Map itself.
|
boolean |
firstBooleanValue()
A method to get the first Value of a Map.
|
short |
firstShortKey()
A method to get the first Key of a Map.
|
boolean |
getAndMoveToFirst(short key)
A Specific get method that allows to move teh given key/value int the first index.
|
boolean |
getAndMoveToLast(short key)
A Specific get method that allows to move teh given key/value int the last index.
|
ShortOrderedSet |
keySet() |
boolean |
lastBooleanValue()
A method to get the last Value of a Map.
|
short |
lastShortKey()
A method to get the last Key of a Map.
|
boolean |
moveToFirst(short key)
A specific move method to move a given key/value to the first index.
|
boolean |
moveToLast(short key)
A specific move method to move a given key/value to the last index.
|
short |
pollFirstShortKey()
A method to get and remove the first Key of a Map.
|
short |
pollLastShortKey()
A method to get and remove the last Key of a Map.
|
boolean |
putAndMoveToFirst(short key,
boolean value)
A customized put method that allows you to insert into the first index.
|
boolean |
putAndMoveToLast(short key,
boolean value)
A customized put method that allows you to insert into the last index.
|
ObjectOrderedSet<Short2BooleanMap.Entry> |
short2BooleanEntrySet()
Type Sensitive EntrySet to reduce boxing/unboxing and optionally Temp Object Allocation.
|
default Short2BooleanOrderedMap |
synchronize()
Creates a Wrapped SortedMap that is Synchronized
|
default Short2BooleanOrderedMap |
synchronize(java.lang.Object mutex)
Creates a Wrapped SortedMap that is Synchronized
|
default Short2BooleanOrderedMap |
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, valuesalwaysFalse, alwaysTrue, andType, negate, orTypeboolean putAndMoveToFirst(short key,
boolean value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean putAndMoveToLast(short key,
boolean value)
key - the key that should be insertedvalue - the value that should be insertedMap.put(Object, Object)boolean moveToFirst(short key)
key - that should be moved to the first indexboolean moveToLast(short key)
key - that should be moved to the first lastboolean getAndMoveToFirst(short key)
key - that is searched forboolean getAndMoveToLast(short key)
key - that is searched forshort firstShortKey()
short pollFirstShortKey()
short lastShortKey()
short pollLastShortKey()
boolean firstBooleanValue()
boolean lastBooleanValue()
Short2BooleanOrderedMap copy()
Short2BooleanMapcopy in interface Short2BooleanMapShortOrderedSet keySet()
keySet in interface java.util.Map<java.lang.Short,java.lang.Boolean>keySet in interface Short2BooleanMapObjectOrderedSet<Short2BooleanMap.Entry> short2BooleanEntrySet()
Short2BooleanMapshort2BooleanEntrySet in interface Short2BooleanMapdefault Short2BooleanOrderedMap synchronize()
synchronize in interface Short2BooleanMapShort2BooleanMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2BooleanMap)default Short2BooleanOrderedMap synchronize(java.lang.Object mutex)
synchronize in interface Short2BooleanMapmutex - is the controller of the synchronization blockShort2BooleanMaps.synchronize(speiger.src.collections.shorts.maps.interfaces.Short2BooleanMap)default Short2BooleanOrderedMap unmodifiable()
unmodifiable in interface Short2BooleanMapShort2BooleanMaps.unmodifiable(speiger.src.collections.shorts.maps.interfaces.Short2BooleanMap)