Klasse Short2BooleanMap.BuilderCache

java.lang.Object
speiger.src.collections.shorts.maps.interfaces.Short2BooleanMap.BuilderCache
Umschließende Schnittstelle:
Short2BooleanMap

public static class Short2BooleanMap.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 Short2BooleanMap.BuilderCache put(short key, boolean 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 Short2BooleanMap.BuilderCache put(Short key, Boolean 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 Short2BooleanMap.BuilderCache putAll(Map<? extends Short,? extends Boolean> 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

      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Short2BooleanOpenHashMap
    • linkedMap

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

      Builds the Keys and Values into a Immutable Hash Map
      Gibt zurück:
      a ImmutableShort2BooleanOpenHashMap
    • customMap

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

      public Short2BooleanLinkedOpenCustomHashMap customLinkedMap(ShortStrategy 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 Short2BooleanLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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