Klasse Double2ObjectMap.BuilderCache<V>

java.lang.Object
speiger.src.collections.doubles.maps.interfaces.Double2ObjectMap.BuilderCache<V>
Typparameter:
V - the keyType of elements maintained by this Collection
Umschließende Schnittstelle:
Double2ObjectMap<V>

public static class Double2ObjectMap.BuilderCache<V> 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 Double2ObjectMap.BuilderCache<V> put(double key, V 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 Double2ObjectMap.BuilderCache<V> put(Double key, V 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 Double2ObjectMap.BuilderCache<V> putAll(Map<? extends Double,? extends V> 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 Double2ObjectOpenHashMap<V> map()
      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Double2ObjectOpenHashMap
    • linkedMap

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

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

      public Double2ObjectOpenCustomHashMap<V> 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 Double2ObjectOpenCustomHashMap
    • customLinkedMap

      public Double2ObjectLinkedOpenCustomHashMap<V> 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 Double2ObjectLinkedOpenCustomHashMap
    • concurrentMap

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

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

      public Double2ObjectRBTreeMap<V> rbTreeMap()
      Builds the Keys and Values into a RedBlack TreeMap
      Gibt zurück:
      a Double2ObjectRBTreeMap
    • rbTreeMap

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

      public Double2ObjectAVLTreeMap<V> avlTreeMap()
      Builds the Keys and Values into a AVL TreeMap
      Gibt zurück:
      a Double2ObjectAVLTreeMap
    • avlTreeMap

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