Klasse Char2IntMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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