Schnittstelle Long2FloatMap.FastEntrySet

Alle Superschnittstellen:
Collection<Long2FloatMap.Entry>, ISizeProvider, Iterable<Long2FloatMap.Entry>, ObjectCollection<Long2FloatMap.Entry>, ObjectIterable<Long2FloatMap.Entry>, ObjectSet<Long2FloatMap.Entry>, Set<Long2FloatMap.Entry>
Alle bekannten Unterschnittstellen:
Long2FloatOrderedMap.FastOrderedSet, Long2FloatSortedMap.FastSortedSet
Umschließende Schnittstelle:
Long2FloatMap

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