Klasse Float2LongMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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