Klasse Char2ShortMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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