Klasse Byte2LongMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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