Schnittstelle Object2IntMap.FastEntrySet<T>

Typparameter:
T - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
Collection<Object2IntMap.Entry<T>>, ISizeProvider, Iterable<Object2IntMap.Entry<T>>, ObjectCollection<Object2IntMap.Entry<T>>, ObjectIterable<Object2IntMap.Entry<T>>, ObjectSet<Object2IntMap.Entry<T>>, Set<Object2IntMap.Entry<T>>
Alle bekannten Unterschnittstellen:
Object2IntOrderedMap.FastOrderedSet<T>, Object2IntSortedMap.FastSortedSet<T>
Umschließende Schnittstelle:
Object2IntMap<T>

public static interface Object2IntMap.FastEntrySet<T> extends ObjectSet<Object2IntMap.Entry<T>>
Fast Entry set that allows for a faster Entry Iterator by recycling the Entry Object and just exchanging 1 internal value
  • Methodendetails

    • fastIterator

      Fast iterator that recycles the given Entry object to improve speed and reduce object allocation
      Gibt zurück:
      a Recycling ObjectIterator of the given set
    • fastForEach

      default void fastForEach(Consumer<? super Object2IntMap.Entry<T>> action)
      Fast for each that recycles the given Entry object to improve speed and reduce object allocation
      Parameter:
      action - the action that should be applied to each given entry