Klasse Object2ByteMap.BuilderCache<T>

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

public static class Object2ByteMap.BuilderCache<T> 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 Object2ByteMap.BuilderCache<T> put(T key, byte 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 Object2ByteMap.BuilderCache<T> put(T key, Byte 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 Object2ByteMap.BuilderCache<T> putAll(Map<? extends T,? extends Byte> 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 Object2ByteOpenHashMap<T> map()
      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Object2ByteOpenHashMap
    • linkedMap

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

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

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

      public Object2ByteLinkedOpenCustomHashMap<T> customLinkedMap(ObjectStrategy<T> 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 Object2ByteLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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