Schnittstelle Object2FloatMap.FastEntrySet<T>

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

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