public static class Long2BooleanMap.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 |
|---|---|
Long2BooleanArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Long2BooleanAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Long2BooleanAVLTreeMap |
avlTreeMap(LongComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Long2BooleanConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Long2BooleanLinkedOpenCustomHashMap |
customLinkedMap(LongStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Long2BooleanOpenCustomHashMap |
customMap(LongStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableLong2BooleanOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Long2BooleanLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Long2BooleanOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Long2BooleanMap.BuilderCache |
put(Long2BooleanMap.Entry entry)
Helper function to add a Entry into the Map
|
Long2BooleanMap.BuilderCache |
put(long key,
boolean value)
Helper function to add a Entry into the Map
|
Long2BooleanMap.BuilderCache |
put(java.lang.Long key,
java.lang.Boolean value)
Helper function to add a Entry into the Map
|
Long2BooleanMap.BuilderCache |
putAll(Long2BooleanMap map)
Helper function to add a Map to the Map
|
Long2BooleanMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
Helper function to add a Map to the Map
|
Long2BooleanMap.BuilderCache |
putAll(ObjectIterable<Long2BooleanMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Long2BooleanRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Long2BooleanRBTreeMap |
rbTreeMap(LongComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Long2BooleanMap.BuilderCache put(long key, boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Long2BooleanMap.BuilderCache put(java.lang.Long key, java.lang.Boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Long2BooleanMap.BuilderCache put(Long2BooleanMap.Entry entry)
entry - the Entry that should be addedpublic Long2BooleanMap.BuilderCache putAll(Long2BooleanMap map)
map - that should be addedpublic Long2BooleanMap.BuilderCache putAll(java.util.Map<? extends java.lang.Long,? extends java.lang.Boolean> map)
map - that should be addedpublic Long2BooleanMap.BuilderCache putAll(ObjectIterable<Long2BooleanMap.Entry> c)
c - that should be addedpublic Long2BooleanOpenHashMap map()
public Long2BooleanLinkedOpenHashMap linkedMap()
public ImmutableLong2BooleanOpenHashMap immutable()
public Long2BooleanOpenCustomHashMap customMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2BooleanLinkedOpenCustomHashMap customLinkedMap(LongStrategy strategy)
strategy - the that controls the keys and valuespublic Long2BooleanConcurrentOpenHashMap concurrentMap()
public Long2BooleanArrayMap arrayMap()
public Long2BooleanRBTreeMap rbTreeMap()
public Long2BooleanRBTreeMap rbTreeMap(LongComparator comp)
comp - the Comparator that sorts the Treepublic Long2BooleanAVLTreeMap avlTreeMap()
public Long2BooleanAVLTreeMap avlTreeMap(LongComparator comp)
comp - the Comparator that sorts the Tree