Klasse Int2BooleanMap.BuilderCache

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

public static class Int2BooleanMap.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 Int2BooleanMap.BuilderCache put(int 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 Int2BooleanMap.BuilderCache put(Integer 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 Int2BooleanMap.BuilderCache putAll(Map<? extends Integer,? 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

      public Int2BooleanOpenHashMap map()
      Builds the Keys and Values into a Hash Map
      Gibt zurück:
      a Int2BooleanOpenHashMap
    • linkedMap

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

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

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

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

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

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

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

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

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

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