Klasse Long2ByteMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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