Klasse Double2DoubleMap.BuilderCache

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

public static class Double2DoubleMap.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 Double2DoubleMap.BuilderCache put(double key, double 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 Double2DoubleMap.BuilderCache put(Double key, Double 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 Double2DoubleMap.BuilderCache putAll(Map<? extends Double,? extends Double> 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 Double2DoubleOpenHashMap
    • linkedMap

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

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

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

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

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

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

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

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

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

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