Schnittstelle Int2DoubleMap.FastEntrySet

Alle Superschnittstellen:
Collection<Int2DoubleMap.Entry>, ISizeProvider, Iterable<Int2DoubleMap.Entry>, ObjectCollection<Int2DoubleMap.Entry>, ObjectIterable<Int2DoubleMap.Entry>, ObjectSet<Int2DoubleMap.Entry>, Set<Int2DoubleMap.Entry>
Alle bekannten Unterschnittstellen:
Int2DoubleOrderedMap.FastOrderedSet, Int2DoubleSortedMap.FastSortedSet
Umschließende Schnittstelle:
Int2DoubleMap

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