Klasse Int2CharMap.BuilderCache

java.lang.Object
speiger.src.collections.ints.maps.interfaces.Int2CharMap.BuilderCache
Umschließende Schnittstelle:
Int2CharMap

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

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

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

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

      public Int2CharLinkedOpenCustomHashMap customLinkedMap(IntStrategy 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 Int2CharLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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