Schnittstelle Short2BooleanMap.FastEntrySet

Alle Superschnittstellen:
Collection<Short2BooleanMap.Entry>, ISizeProvider, Iterable<Short2BooleanMap.Entry>, ObjectCollection<Short2BooleanMap.Entry>, ObjectIterable<Short2BooleanMap.Entry>, ObjectSet<Short2BooleanMap.Entry>, Set<Short2BooleanMap.Entry>
Alle bekannten Unterschnittstellen:
Short2BooleanOrderedMap.FastOrderedSet, Short2BooleanSortedMap.FastSortedSet
Umschließende Schnittstelle:
Short2BooleanMap

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