Schnittstelle Double2DoubleMap.FastEntrySet

Alle Superschnittstellen:
Collection<Double2DoubleMap.Entry>, ISizeProvider, Iterable<Double2DoubleMap.Entry>, ObjectCollection<Double2DoubleMap.Entry>, ObjectIterable<Double2DoubleMap.Entry>, ObjectSet<Double2DoubleMap.Entry>, Set<Double2DoubleMap.Entry>
Alle bekannten Unterschnittstellen:
Double2DoubleOrderedMap.FastOrderedSet, Double2DoubleSortedMap.FastSortedSet
Umschließende Schnittstelle:
Double2DoubleMap

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