Klasse Float2FloatMap.BuilderCache

java.lang.Object
speiger.src.collections.floats.maps.interfaces.Float2FloatMap.BuilderCache
Umschließende Schnittstelle:
Float2FloatMap

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

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

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

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

      public Float2FloatLinkedOpenCustomHashMap customLinkedMap(FloatStrategy 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 Float2FloatLinkedOpenCustomHashMap
    • concurrentMap

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

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

      public Float2FloatRBTreeMap rbTreeMap()
      Builds the Keys and Values into a RedBlack TreeMap
      Gibt zurück:
      a Float2FloatRBTreeMap
    • rbTreeMap

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

      public Float2FloatAVLTreeMap avlTreeMap()
      Builds the Keys and Values into a AVL TreeMap
      Gibt zurück:
      a Float2FloatAVLTreeMap
    • avlTreeMap

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