public static class Int2BooleanMap.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 |
|---|---|
Int2BooleanArrayMap |
arrayMap()
Builds the Keys and Values into a Array Map
|
Int2BooleanAVLTreeMap |
avlTreeMap()
Builds the Keys and Values into a AVL TreeMap
|
Int2BooleanAVLTreeMap |
avlTreeMap(IntComparator comp)
Builds the Keys and Values into a AVL TreeMap
|
Int2BooleanConcurrentOpenHashMap |
concurrentMap()
Builds the Keys and Values into a Concurrent Hash Map
|
Int2BooleanLinkedOpenCustomHashMap |
customLinkedMap(IntStrategy strategy)
Builds the Keys and Values into a Linked Custom Hash Map
|
Int2BooleanOpenCustomHashMap |
customMap(IntStrategy strategy)
Builds the Keys and Values into a Custom Hash Map
|
ImmutableInt2BooleanOpenHashMap |
immutable()
Builds the Keys and Values into a Immutable Hash Map
|
Int2BooleanLinkedOpenHashMap |
linkedMap()
Builds the Keys and Values into a Linked Hash Map
|
Int2BooleanOpenHashMap |
map()
Builds the Keys and Values into a Hash Map
|
Int2BooleanMap.BuilderCache |
put(Int2BooleanMap.Entry entry)
Helper function to add a Entry into the Map
|
Int2BooleanMap.BuilderCache |
put(int key,
boolean value)
Helper function to add a Entry into the Map
|
Int2BooleanMap.BuilderCache |
put(java.lang.Integer key,
java.lang.Boolean value)
Helper function to add a Entry into the Map
|
Int2BooleanMap.BuilderCache |
putAll(Int2BooleanMap map)
Helper function to add a Map to the Map
|
Int2BooleanMap.BuilderCache |
putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Boolean> map)
Helper function to add a Map to the Map
|
Int2BooleanMap.BuilderCache |
putAll(ObjectIterable<Int2BooleanMap.Entry> c)
Helper function to add a Collection of Entries to the Map
|
Int2BooleanRBTreeMap |
rbTreeMap()
Builds the Keys and Values into a RedBlack TreeMap
|
Int2BooleanRBTreeMap |
rbTreeMap(IntComparator comp)
Builds the Keys and Values into a RedBlack TreeMap
|
public BuilderCache()
public BuilderCache(int initialSize)
initialSize - the requested start capacitypublic Int2BooleanMap.BuilderCache put(int key, boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Int2BooleanMap.BuilderCache put(java.lang.Integer key, java.lang.Boolean value)
key - the key that should be addedvalue - the value that should be addedpublic Int2BooleanMap.BuilderCache put(Int2BooleanMap.Entry entry)
entry - the Entry that should be addedpublic Int2BooleanMap.BuilderCache putAll(Int2BooleanMap map)
map - that should be addedpublic Int2BooleanMap.BuilderCache putAll(java.util.Map<? extends java.lang.Integer,? extends java.lang.Boolean> map)
map - that should be addedpublic Int2BooleanMap.BuilderCache putAll(ObjectIterable<Int2BooleanMap.Entry> c)
c - that should be addedpublic Int2BooleanOpenHashMap map()
public Int2BooleanLinkedOpenHashMap linkedMap()
public ImmutableInt2BooleanOpenHashMap immutable()
public Int2BooleanOpenCustomHashMap customMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2BooleanLinkedOpenCustomHashMap customLinkedMap(IntStrategy strategy)
strategy - the that controls the keys and valuespublic Int2BooleanConcurrentOpenHashMap concurrentMap()
public Int2BooleanArrayMap arrayMap()
public Int2BooleanRBTreeMap rbTreeMap()
public Int2BooleanRBTreeMap rbTreeMap(IntComparator comp)
comp - the Comparator that sorts the Treepublic Int2BooleanAVLTreeMap avlTreeMap()
public Int2BooleanAVLTreeMap avlTreeMap(IntComparator comp)
comp - the Comparator that sorts the Tree