Klasse Int2ByteMap.BuilderCache

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

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

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

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

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

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

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

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

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

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

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

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