Klasse Byte2CharMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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