Klasse Long2CharMap.BuilderCache

java.lang.Object
speiger.src.collections.longs.maps.interfaces.Long2CharMap.BuilderCache
Umschließende Schnittstelle:
Long2CharMap

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

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

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

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

      public Long2CharLinkedOpenCustomHashMap customLinkedMap(LongStrategy 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 Long2CharLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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