Klasse Byte2ByteMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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