Klasse Byte2ObjectMap.BuilderCache<V>

java.lang.Object
speiger.src.collections.bytes.maps.interfaces.Byte2ObjectMap.BuilderCache<V>
Typparameter:
V - the keyType of elements maintained by this Collection
Umschließende Schnittstelle:
Byte2ObjectMap<V>

public static class Byte2ObjectMap.BuilderCache<V> extends Object
Builder Cache for allowing to buildMaps
  • Konstruktordetails

    • BuilderCache

      public BuilderCache()
      Default Constructor
    • BuilderCache

      public BuilderCache(int initialSize)
      Constructor providing a Minimum Capcity
      Parameter:
      initialSize - the requested start capacity
  • Methodendetails

    • put

      public Byte2ObjectMap.BuilderCache<V> put(byte key, V value)
      Helper function to add a Entry into the Map
      Parameter:
      key - the key that should be added
      value - the value that should be added
      Gibt zurück:
      self
    • put

      public Byte2ObjectMap.BuilderCache<V> put(Byte key, V value)
      Helper function to add a Entry into the Map
      Parameter:
      key - the key that should be added
      value - 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

      public Byte2ObjectMap.BuilderCache<V> putAll(Map<? extends Byte,? extends V> map)
      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

      public Byte2ObjectOpenHashMap<V> map()
      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Byte2ObjectOpenHashMap
    • linkedMap

      public Byte2ObjectLinkedOpenHashMap<V> linkedMap()
      Builds the Keys and Values into a Linked Hash Map
      Gibt zurück:
      a Byte2ObjectLinkedOpenHashMap
    • immutable

      public ImmutableByte2ObjectOpenHashMap<V> immutable()
      Builds the Keys and Values into a Immutable Hash Map
      Gibt zurück:
      a ImmutableByte2ObjectOpenHashMap
    • customMap

      public Byte2ObjectOpenCustomHashMap<V> customMap(ByteStrategy strategy)
      Builds the Keys and Values into a Custom Hash Map
      Parameter:
      strategy - the that controls the keys and values
      Gibt zurück:
      a Byte2ObjectOpenCustomHashMap
    • customLinkedMap

      public Byte2ObjectLinkedOpenCustomHashMap<V> customLinkedMap(ByteStrategy strategy)
      Builds the Keys and Values into a Linked Custom Hash Map
      Parameter:
      strategy - the that controls the keys and values
      Gibt zurück:
      a Byte2ObjectLinkedOpenCustomHashMap
    • concurrentMap

      public Byte2ObjectConcurrentOpenHashMap<V> concurrentMap()
      Builds the Keys and Values into a Concurrent Hash Map
      Gibt zurück:
      a Byte2ObjectConcurrentOpenHashMap
    • arrayMap

      public Byte2ObjectArrayMap<V> arrayMap()
      Builds the Keys and Values into a Array Map
      Gibt zurück:
      a Byte2ObjectArrayMap
    • rbTreeMap

      public Byte2ObjectRBTreeMap<V> rbTreeMap()
      Builds the Keys and Values into a RedBlack TreeMap
      Gibt zurück:
      a Byte2ObjectRBTreeMap
    • rbTreeMap

      public Byte2ObjectRBTreeMap<V> rbTreeMap(ByteComparator comp)
      Builds the Keys and Values into a RedBlack TreeMap
      Parameter:
      comp - the Comparator that sorts the Tree
      Gibt zurück:
      a Byte2ObjectRBTreeMap
    • avlTreeMap

      public Byte2ObjectAVLTreeMap<V> avlTreeMap()
      Builds the Keys and Values into a AVL TreeMap
      Gibt zurück:
      a Byte2ObjectAVLTreeMap
    • avlTreeMap

      public Byte2ObjectAVLTreeMap<V> avlTreeMap(ByteComparator comp)
      Builds the Keys and Values into a AVL TreeMap
      Parameter:
      comp - the Comparator that sorts the Tree
      Gibt zurück:
      a Byte2ObjectAVLTreeMap