Klasse Short2FloatMap.BuilderCache

java.lang.Object
speiger.src.collections.shorts.maps.interfaces.Short2FloatMap.BuilderCache
Umschließende Schnittstelle:
Short2FloatMap

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

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

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

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

      public Short2FloatLinkedOpenCustomHashMap customLinkedMap(ShortStrategy 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 Short2FloatLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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