Klasse Double2ShortMap.BuilderCache

java.lang.Object
speiger.src.collections.doubles.maps.interfaces.Double2ShortMap.BuilderCache
Umschließende Schnittstelle:
Double2ShortMap

public static class Double2ShortMap.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 Double2ShortMap.BuilderCache put(double key, short 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 Double2ShortMap.BuilderCache put(Double key, Short 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 Double2ShortMap.BuilderCache putAll(Map<? extends Double,? extends Short> 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

      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Double2ShortOpenHashMap
    • linkedMap

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

      Builds the Keys and Values into a Immutable Hash Map
      Gibt zurück:
      a ImmutableDouble2ShortOpenHashMap
    • customMap

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

      public Double2ShortLinkedOpenCustomHashMap customLinkedMap(DoubleStrategy 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 Double2ShortLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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