Schnittstelle Int2ByteMap.FastEntrySet

Alle Superschnittstellen:
Collection<Int2ByteMap.Entry>, ISizeProvider, Iterable<Int2ByteMap.Entry>, ObjectCollection<Int2ByteMap.Entry>, ObjectIterable<Int2ByteMap.Entry>, ObjectSet<Int2ByteMap.Entry>, Set<Int2ByteMap.Entry>
Alle bekannten Unterschnittstellen:
Int2ByteOrderedMap.FastOrderedSet, Int2ByteSortedMap.FastSortedSet
Umschließende Schnittstelle:
Int2ByteMap

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