Klasse Int2IntMap.BuilderCache

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

public static class Int2IntMap.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 Int2IntMap.BuilderCache put(int key, int 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 Int2IntMap.BuilderCache put(Integer key, Integer 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

      public Int2IntMap.BuilderCache putAll(Int2IntMap map)
      Helper function to add a Map to the Map
      Parameter:
      map - that should be added
      Gibt zurück:
      self
    • putAll

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

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

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

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

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

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

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

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

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

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

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