Modul speiger.src.collections
Klasse Long2ObjectMap.BuilderCache<V>
java.lang.Object
speiger.src.collections.longs.maps.interfaces.Long2ObjectMap.BuilderCache<V>
- Typparameter:
V- the keyType of elements maintained by this Collection
- Umschließende Schnittstelle:
Long2ObjectMap<V>
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(LongComparator comp) Builds the Keys and Values into a AVL TreeMapBuilds the Keys and Values into a Concurrent Hash MapcustomLinkedMap(LongStrategy strategy) Builds the Keys and Values into a Linked Custom Hash MapcustomMap(LongStrategy 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 MapHelper function to add a Entry into the MapHelper function to add a Entry into the Mapput(Long2ObjectMap.Entry<V> entry) Helper function to add a Entry into the MapHelper function to add a Map to the MapputAll(Long2ObjectMap<V> 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(LongComparator 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 Long2ObjectOpenHashMap
-
linkedMap
Builds the Keys and Values into a Linked Hash Map- Gibt zurück:
- a Long2ObjectLinkedOpenHashMap
-
immutable
Builds the Keys and Values into a Immutable Hash Map- Gibt zurück:
- a ImmutableLong2ObjectOpenHashMap
-
customMap
Builds the Keys and Values into a Custom Hash Map- Parameter:
strategy- the that controls the keys and values- Gibt zurück:
- a Long2ObjectOpenCustomHashMap
-
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 Long2ObjectLinkedOpenCustomHashMap
-
concurrentMap
Builds the Keys and Values into a Concurrent Hash Map- Gibt zurück:
- a Long2ObjectConcurrentOpenHashMap
-
arrayMap
Builds the Keys and Values into a Array Map- Gibt zurück:
- a Long2ObjectArrayMap
-
rbTreeMap
Builds the Keys and Values into a RedBlack TreeMap- Gibt zurück:
- a Long2ObjectRBTreeMap
-
rbTreeMap
Builds the Keys and Values into a RedBlack TreeMap- Parameter:
comp- the Comparator that sorts the Tree- Gibt zurück:
- a Long2ObjectRBTreeMap
-
avlTreeMap
Builds the Keys and Values into a AVL TreeMap- Gibt zurück:
- a Long2ObjectAVLTreeMap
-
avlTreeMap
Builds the Keys and Values into a AVL TreeMap- Parameter:
comp- the Comparator that sorts the Tree- Gibt zurück:
- a Long2ObjectAVLTreeMap
-