Klasse Int2DoubleMap.BuilderCache

java.lang.Object
speiger.src.collections.ints.maps.interfaces.Int2DoubleMap.BuilderCache
Umschließende Schnittstelle:
Int2DoubleMap

public static class Int2DoubleMap.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 Int2DoubleMap.BuilderCache put(int 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 Int2DoubleMap.BuilderCache put(Integer 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 Int2DoubleMap.BuilderCache putAll(Map<? extends Integer,? 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

      public Int2DoubleOpenHashMap map()
      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Int2DoubleOpenHashMap
    • linkedMap

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

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

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

      public Int2DoubleLinkedOpenCustomHashMap customLinkedMap(IntStrategy 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 Int2DoubleLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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