Klasse Object2FloatMap.BuilderCache<T>

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

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

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

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

      public Object2FloatOpenCustomHashMap<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 Object2FloatOpenCustomHashMap
    • customLinkedMap

      public Object2FloatLinkedOpenCustomHashMap<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 Object2FloatLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

      public Object2FloatRBTreeMap<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 Object2FloatRBTreeMap
    • avlTreeMap

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

      public Object2FloatAVLTreeMap<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 Object2FloatAVLTreeMap