Schnittstelle Char2FloatMap.FastEntrySet

Alle Superschnittstellen:
Collection<Char2FloatMap.Entry>, ISizeProvider, Iterable<Char2FloatMap.Entry>, ObjectCollection<Char2FloatMap.Entry>, ObjectIterable<Char2FloatMap.Entry>, ObjectSet<Char2FloatMap.Entry>, Set<Char2FloatMap.Entry>
Alle bekannten Unterschnittstellen:
Char2FloatOrderedMap.FastOrderedSet, Char2FloatSortedMap.FastSortedSet
Umschließende Schnittstelle:
Char2FloatMap

public static interface Char2FloatMap.FastEntrySet extends ObjectSet<Char2FloatMap.Entry>
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 Char2FloatMap.Entry> 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