Modul speiger.src.collections
Klasse Int2ShortMap.BuilderCache
java.lang.Object
speiger.src.collections.ints.maps.interfaces.Int2ShortMap.BuilderCache
- Umschließende Schnittstelle:
Int2ShortMap
Builder Cache for allowing to buildMaps
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDefault ConstructorBuilderCache(int initialSize) Constructor providing a Minimum Capcity -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungarrayMap()Builds the Keys and Values into a Array MapBuilds the Keys and Values into a AVL TreeMapavlTreeMap(IntComparator comp) Builds the Keys and Values into a AVL TreeMapBuilds the Keys and Values into a Concurrent Hash MapcustomLinkedMap(IntStrategy strategy) Builds the Keys and Values into a Linked Custom Hash MapcustomMap(IntStrategy strategy) Builds the Keys and Values into a Custom Hash MapBuilds the Keys and Values into a Immutable Hash MapBuilds the Keys and Values into a Linked Hash Mapmap()Builds the Keys and Values into a Hash Mapput(int key, short value) Helper function to add a Entry into the MapHelper function to add a Entry into the Mapput(Int2ShortMap.Entry entry) Helper function to add a Entry into the MapHelper function to add a Map to the MapputAll(Int2ShortMap map) Helper function to add a Map to the MapHelper function to add a Collection of Entries to the MapBuilds the Keys and Values into a RedBlack TreeMaprbTreeMap(IntComparator comp) Builds the Keys and Values into a RedBlack TreeMap
-
Konstruktordetails
-
BuilderCache
public BuilderCache()Default Constructor -
BuilderCache
public BuilderCache(int initialSize) Constructor providing a Minimum Capcity- Parameter:
initialSize- the requested start capacity
-
-
Methodendetails
-
put
Helper function to add a Entry into the Map- Parameter:
key- the key that should be addedvalue- the value that should be added- Gibt zurück:
- self
-
put
Helper function to add a Entry into the Map- Parameter:
key- the key that should be addedvalue- the value that should be added- Gibt zurück:
- self
-
put
Helper function to add a Entry into the Map- Parameter:
entry- the Entry that should be added- Gibt zurück:
- self
-
putAll
Helper function to add a Map to the Map- Parameter:
map- that should be added- Gibt zurück:
- self
-
putAll
Helper function to add a Map to the Map- Parameter:
map- that should be added- Gibt zurück:
- self
-
putAll
Helper function to add a Collection of Entries to the Map- Parameter:
c- that should be added- Gibt zurück:
- self
-
map
Builds the Keys and Values into a Hash Map- Gibt zurück:
- a Int2ShortOpenHashMap
-
linkedMap
Builds the Keys and Values into a Linked Hash Map- Gibt zurück:
- a Int2ShortLinkedOpenHashMap
-
immutable
Builds the Keys and Values into a Immutable Hash Map- Gibt zurück:
- a ImmutableInt2ShortOpenHashMap
-
customMap
Builds the Keys and Values into a Custom Hash Map- Parameter:
strategy- the that controls the keys and values- Gibt zurück:
- a Int2ShortOpenCustomHashMap
-
customLinkedMap
Builds the Keys and Values into a Linked Custom Hash Map- Parameter:
strategy- the that controls the keys and values- Gibt zurück:
- a Int2ShortLinkedOpenCustomHashMap
-
concurrentMap
Builds the Keys and Values into a Concurrent Hash Map- Gibt zurück:
- a Int2ShortConcurrentOpenHashMap
-
arrayMap
Builds the Keys and Values into a Array Map- Gibt zurück:
- a Int2ShortArrayMap
-
rbTreeMap
Builds the Keys and Values into a RedBlack TreeMap- Gibt zurück:
- a Int2ShortRBTreeMap
-
rbTreeMap
Builds the Keys and Values into a RedBlack TreeMap- Parameter:
comp- the Comparator that sorts the Tree- Gibt zurück:
- a Int2ShortRBTreeMap
-
avlTreeMap
Builds the Keys and Values into a AVL TreeMap- Gibt zurück:
- a Int2ShortAVLTreeMap
-
avlTreeMap
Builds the Keys and Values into a AVL TreeMap- Parameter:
comp- the Comparator that sorts the Tree- Gibt zurück:
- a Int2ShortAVLTreeMap
-