public static final class Byte2ObjectMap.MapBuilder
extends java.lang.Object
| Constructor and Description |
|---|
MapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
<V> Byte2ObjectArrayMap<V> |
arrayMap()
Helper function to unify code
|
<V> Byte2ObjectArrayMap<V> |
arrayMap(byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectArrayMap<V> |
arrayMap(java.lang.Byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectArrayMap<V> |
arrayMap(Byte2ObjectMap<V> map)
Helper function to unify code
|
<V> Byte2ObjectArrayMap<V> |
arrayMap(int size)
Helper function to unify code
|
<V> Byte2ObjectArrayMap<V> |
arrayMap(java.util.Map<? extends java.lang.Byte,? extends V> map)
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap()
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap(byte[] keys,
V[] values,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap(java.lang.Byte[] keys,
V[] values,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap(Byte2ObjectMap<V> map,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap(ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectAVLTreeMap<V> |
avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends V> map,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(byte[] keys,
V[] values,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.lang.Byte[] keys,
V[] values,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(Byte2ObjectMap<V> map,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenCustomHashMap<V> |
customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends V> map,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(byte[] keys,
V[] values,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(java.lang.Byte[] keys,
V[] values,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(Byte2ObjectMap<V> map,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(int size,
ByteStrategy strategy)
Helper function to unify code
|
<V> Byte2ObjectOpenCustomHashMap<V> |
customMap(java.util.Map<? extends java.lang.Byte,? extends V> map,
ByteStrategy strategy)
Helper function to unify code
|
<V> ImmutableByte2ObjectOpenHashMap<V> |
immutable(byte[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableByte2ObjectOpenHashMap<V> |
immutable(java.lang.Byte[] keys,
V[] values)
Helper function to unify code
|
<V> ImmutableByte2ObjectOpenHashMap<V> |
immutable(Byte2ObjectMap<V> map)
Helper function to unify code
|
<V> ImmutableByte2ObjectOpenHashMap<V> |
immutable(java.util.Map<? extends java.lang.Byte,? extends V> map)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenHashMap<V> |
linkedMap()
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenHashMap<V> |
linkedMap(byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenHashMap<V> |
linkedMap(java.lang.Byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenHashMap<V> |
linkedMap(Byte2ObjectMap<V> map)
Helper function to unify code
|
<V> Byte2ObjectLinkedOpenHashMap<V> |
linkedMap(int size)
Helper function to unify code
|
<V> ImmutableByte2ObjectOpenHashMap<V> |
linkedMap(java.util.Map<? extends java.lang.Byte,? extends V> map)
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map()
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map(byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map(java.lang.Byte[] keys,
V[] values)
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map(Byte2ObjectMap<V> map)
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map(int size)
Helper function to unify code
|
<V> Byte2ObjectOpenHashMap<V> |
map(java.util.Map<? extends java.lang.Byte,? extends V> map)
Helper function to unify code
|
<V> Byte2ObjectMap.BuilderCache<V> |
put(byte key,
V value)
Starts a Map builder and puts in the Key and Value into it
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
<V> Byte2ObjectMap.BuilderCache<V> |
put(java.lang.Byte key,
V value)
Starts a Map builder and puts in the Key and Value into it
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap()
Helper function to unify code
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap(byte[] keys,
V[] values,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap(java.lang.Byte[] keys,
V[] values,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap(Byte2ObjectMap<V> map,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap(ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectRBTreeMap<V> |
rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends V> map,
ByteComparator comp)
Helper function to unify code
|
<V> Byte2ObjectMap.BuilderCache<V> |
start()
Starts a Map Builder that allows you to create maps as Constants a lot easier
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
<V> Byte2ObjectMap.BuilderCache<V> |
start(int size)
Starts a Map Builder that allows you to create maps as Constants a lot easier
Keys and Values are stored as Array and then inserted using the putAllMethod when the mapType is choosen
|
public <V> Byte2ObjectMap.BuilderCache<V> start()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectMap.BuilderCache<V> start(int size)
V - the keyType of elements maintained by this Collectionsize - the expected minimum size of Elements in the Map, default is 16public <V> Byte2ObjectMap.BuilderCache<V> put(byte key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Byte2ObjectMap.BuilderCache<V> put(java.lang.Byte key, V value)
V - the keyType of elements maintained by this Collectionkey - the key that should be addedvalue - the value that should be addedpublic <V> Byte2ObjectOpenHashMap<V> map()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectOpenHashMap<V> map(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Byte2ObjectOpenHashMap<V> map(byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectOpenHashMap<V> map(java.lang.Byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectOpenHashMap<V> map(Byte2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Byte2ObjectOpenHashMap<V> map(java.util.Map<? extends java.lang.Byte,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Byte2ObjectLinkedOpenHashMap<V> linkedMap()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectLinkedOpenHashMap<V> linkedMap(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Byte2ObjectLinkedOpenHashMap<V> linkedMap(byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectLinkedOpenHashMap<V> linkedMap(java.lang.Byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectLinkedOpenHashMap<V> linkedMap(Byte2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableByte2ObjectOpenHashMap<V> linkedMap(java.util.Map<? extends java.lang.Byte,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableByte2ObjectOpenHashMap<V> immutable(byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> ImmutableByte2ObjectOpenHashMap<V> immutable(java.lang.Byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> ImmutableByte2ObjectOpenHashMap<V> immutable(Byte2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> ImmutableByte2ObjectOpenHashMap<V> immutable(java.util.Map<? extends java.lang.Byte,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(int size, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(byte[] keys, V[] values, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(java.lang.Byte[] keys, V[] values, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(Byte2ObjectMap<V> map, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Byte2ObjectOpenCustomHashMap<V> customMap(java.util.Map<? extends java.lang.Byte,? extends V> map, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionstrategy - the Hash Controllerpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(int size, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mapstrategy - the Hash Controllerpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(byte[] keys, V[] values, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.lang.Byte[] keys, V[] values, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedstrategy - the Hash Controllerjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(Byte2ObjectMap<V> map, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(java.util.Map<? extends java.lang.Byte,? extends V> map, ByteStrategy strategy)
V - the keyType of elements maintained by this Collectionmap - that should be clonedstrategy - the Hash Controllerpublic <V> Byte2ObjectArrayMap<V> arrayMap()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectArrayMap<V> arrayMap(int size)
V - the keyType of elements maintained by this Collectionsize - the minimum capacity of the Mappublic <V> Byte2ObjectArrayMap<V> arrayMap(byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectArrayMap<V> arrayMap(java.lang.Byte[] keys, V[] values)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectArrayMap<V> arrayMap(Byte2ObjectMap<V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Byte2ObjectArrayMap<V> arrayMap(java.util.Map<? extends java.lang.Byte,? extends V> map)
V - the keyType of elements maintained by this Collectionmap - that should be clonedpublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap(ByteComparator comp)
V - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap(byte[] keys, V[] values, ByteComparator comp)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap(java.lang.Byte[] keys, V[] values, ByteComparator comp)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap(Byte2ObjectMap<V> map, ByteComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Byte2ObjectRBTreeMap<V> rbTreeMap(java.util.Map<? extends java.lang.Byte,? extends V> map, ByteComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap()
V - the keyType of elements maintained by this Collectionpublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap(ByteComparator comp)
V - the keyType of elements maintained by this Collectioncomp - the Sorter of the TreeMappublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap(byte[] keys, V[] values, ByteComparator comp)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap(java.lang.Byte[] keys, V[] values, ByteComparator comp)
V - the keyType of elements maintained by this Collectionkeys - the keys that should be insertedvalues - the values that should be insertedcomp - the Sorter of the TreeMapjava.lang.IllegalStateException - if the keys and values do not match in lengthpublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap(Byte2ObjectMap<V> map, ByteComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMappublic <V> Byte2ObjectAVLTreeMap<V> avlTreeMap(java.util.Map<? extends java.lang.Byte,? extends V> map, ByteComparator comp)
V - the keyType of elements maintained by this Collectionmap - that should be clonedcomp - the Sorter of the TreeMap