Schnittstelle Double2BooleanMap.FastEntrySet

Alle Superschnittstellen:
Collection<Double2BooleanMap.Entry>, ISizeProvider, Iterable<Double2BooleanMap.Entry>, ObjectCollection<Double2BooleanMap.Entry>, ObjectIterable<Double2BooleanMap.Entry>, ObjectSet<Double2BooleanMap.Entry>, Set<Double2BooleanMap.Entry>
Alle bekannten Unterschnittstellen:
Double2BooleanOrderedMap.FastOrderedSet, Double2BooleanSortedMap.FastSortedSet
Umschließende Schnittstelle:
Double2BooleanMap

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