public static class Float2IntMap.BuilderCache
extends java.lang.Object
| Constructor and Description |
|---|
BuilderCache()
Default Constructor
|
BuilderCache(int initialSize)
Constructor providing a Minimum Capcity
|
| Modifier and Type | Method and Description |
|---|---|
Float2IntArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Float2IntAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Float2IntAVLTreeMap |
avlTreeMap(FloatComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Float2IntConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Float2IntLinkedOpenCustomHashMap |
customLinkedMap(FloatStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Float2IntOpenCustomHashMap |
customMap(FloatStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableFloat2IntOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Float2IntLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Float2IntOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Float2IntMap.BuilderCache |
put(Float2IntMap.Entry entry)
Helper function to add a Entry into the Map
|
Float2IntMap.BuilderCache |
put(float key,
int value)
Helper function to add a Entry into the Map
|
Float2IntMap.BuilderCache |
put(java.lang.Float key,
java.lang.Integer value)
Helper function to add a Entry into the Map
|
Float2IntMap.BuilderCache |
putAll(Float2IntMap map)
Helper function to add a Map to the Map
|
Float2IntMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Float,? extends java.lang.Integer> map)
Helper function to add a Map to the Map
|
Float2IntMap.BuilderCache |
putAll(ObjectIterable<Float2IntMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Float2IntRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Float2IntRBTreeMap |
rbTreeMap(FloatComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Float2IntMap.BuilderCache put(float key, int value)
key - the key that should be addedvalue - the value that should be addedpublic Float2IntMap.BuilderCache put(java.lang.Float key, java.lang.Integer value)
key - the key that should be addedvalue - the value that should be addedpublic Float2IntMap.BuilderCache put(Float2IntMap.Entry entry)
entry - the Entry that should be addedpublic Float2IntMap.BuilderCache putAll(Float2IntMap map)
map - that should be addedpublic Float2IntMap.BuilderCache putAll(java.util.Map<? extends java.lang.Float,? extends java.lang.Integer> map)
map - that should be addedpublic Float2IntMap.BuilderCache putAll(ObjectIterable<Float2IntMap.Entry> c)
c - that should be addedpublic Float2IntOpenHashMap map()
public Float2IntLinkedOpenHashMap linkedMap()
public ImmutableFloat2IntOpenHashMap immutable()
public Float2IntOpenCustomHashMap customMap(FloatStrategy strategy)
strategy - the that controls the keys and valuespublic Float2IntLinkedOpenCustomHashMap customLinkedMap(FloatStrategy strategy)
strategy - the that controls the keys and valuespublic Float2IntConcurrentOpenHashMap concurrentMap()
public Float2IntArrayMap arrayMap()
public Float2IntRBTreeMap rbTreeMap()
public Float2IntRBTreeMap rbTreeMap(FloatComparator comp)
comp - the Comparator that sorts the Treepublic Float2IntAVLTreeMap avlTreeMap()
public Float2IntAVLTreeMap avlTreeMap(FloatComparator comp)
comp - the Comparator that sorts the Tree