Klasse Byte2ShortMap.BuilderCache

java.lang.Object
speiger.src.collections.bytes.maps.interfaces.Byte2ShortMap.BuilderCache
Umschließende Schnittstelle:
Byte2ShortMap

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

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

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

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

      public Byte2ShortLinkedOpenCustomHashMap customLinkedMap(ByteStrategy 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 Byte2ShortLinkedOpenCustomHashMap
    • concurrentMap

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

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

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

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

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

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