Klasse Long2DoubleMap.BuilderCache

java.lang.Object
speiger.src.collections.longs.maps.interfaces.Long2DoubleMap.BuilderCache
Umschließende Schnittstelle:
Long2DoubleMap

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

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

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

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

      public Long2DoubleLinkedOpenCustomHashMap customLinkedMap(LongStrategy 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 Long2DoubleLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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