Klasse Byte2DoubleMap.BuilderCache

java.lang.Object
speiger.src.collections.bytes.maps.interfaces.Byte2DoubleMap.BuilderCache
Umschließende Schnittstelle:
Byte2DoubleMap

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

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

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

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

      public Byte2DoubleLinkedOpenCustomHashMap customLinkedMap(ByteStrategy 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 Byte2DoubleLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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