Schnittstelle Byte2IntMap.FastEntrySet

Alle Superschnittstellen:
Collection<Byte2IntMap.Entry>, ISizeProvider, Iterable<Byte2IntMap.Entry>, ObjectCollection<Byte2IntMap.Entry>, ObjectIterable<Byte2IntMap.Entry>, ObjectSet<Byte2IntMap.Entry>, Set<Byte2IntMap.Entry>
Alle bekannten Unterschnittstellen:
Byte2IntOrderedMap.FastOrderedSet, Byte2IntSortedMap.FastSortedSet
Umschließende Schnittstelle:
Byte2IntMap

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