Schnittstelle Object2ByteMap.FastEntrySet<T>

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

public static interface Object2ByteMap.FastEntrySet<T> extends ObjectSet<Object2ByteMap.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 Object2ByteMap.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