Klasse Long2FloatMap.BuilderCache

java.lang.Object
speiger.src.collections.longs.maps.interfaces.Long2FloatMap.BuilderCache
Umschließende Schnittstelle:
Long2FloatMap

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

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

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

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

      public Long2FloatLinkedOpenCustomHashMap customLinkedMap(LongStrategy 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 Long2FloatLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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