Schnittstelle Short2ByteMap.FastEntrySet

Alle Superschnittstellen:
Collection<Short2ByteMap.Entry>, ISizeProvider, Iterable<Short2ByteMap.Entry>, ObjectCollection<Short2ByteMap.Entry>, ObjectIterable<Short2ByteMap.Entry>, ObjectSet<Short2ByteMap.Entry>, Set<Short2ByteMap.Entry>
Alle bekannten Unterschnittstellen:
Short2ByteOrderedMap.FastOrderedSet, Short2ByteSortedMap.FastSortedSet
Umschließende Schnittstelle:
Short2ByteMap

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