Klasse Char2ByteMap.BuilderCache

java.lang.Object
speiger.src.collections.chars.maps.interfaces.Char2ByteMap.BuilderCache
Umschließende Schnittstelle:
Char2ByteMap

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

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

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

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

      public Char2ByteLinkedOpenCustomHashMap customLinkedMap(CharStrategy 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 Char2ByteLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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