Schnittstelle Short2DoubleMap.FastEntrySet

Alle Superschnittstellen:
Collection<Short2DoubleMap.Entry>, ISizeProvider, Iterable<Short2DoubleMap.Entry>, ObjectCollection<Short2DoubleMap.Entry>, ObjectIterable<Short2DoubleMap.Entry>, ObjectSet<Short2DoubleMap.Entry>, Set<Short2DoubleMap.Entry>
Alle bekannten Unterschnittstellen:
Short2DoubleOrderedMap.FastOrderedSet, Short2DoubleSortedMap.FastSortedSet
Umschließende Schnittstelle:
Short2DoubleMap

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