Klasse Long2BooleanMap.BuilderCache

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

public static class Long2BooleanMap.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 Long2BooleanMap.BuilderCache put(long 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 Long2BooleanMap.BuilderCache put(Long 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 Long2BooleanMap.BuilderCache putAll(Map<? extends Long,? 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 Long2BooleanOpenHashMap
    • linkedMap

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

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

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

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

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

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

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

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

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

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