Schnittstelle Short2ShortMap.FastEntrySet

Alle Superschnittstellen:
Collection<Short2ShortMap.Entry>, ISizeProvider, Iterable<Short2ShortMap.Entry>, ObjectCollection<Short2ShortMap.Entry>, ObjectIterable<Short2ShortMap.Entry>, ObjectSet<Short2ShortMap.Entry>, Set<Short2ShortMap.Entry>
Alle bekannten Unterschnittstellen:
Short2ShortOrderedMap.FastOrderedSet, Short2ShortSortedMap.FastSortedSet
Umschließende Schnittstelle:
Short2ShortMap

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