Schnittstelle Byte2CharMap.FastEntrySet

Alle Superschnittstellen:
Collection<Byte2CharMap.Entry>, ISizeProvider, Iterable<Byte2CharMap.Entry>, ObjectCollection<Byte2CharMap.Entry>, ObjectIterable<Byte2CharMap.Entry>, ObjectSet<Byte2CharMap.Entry>, Set<Byte2CharMap.Entry>
Alle bekannten Unterschnittstellen:
Byte2CharOrderedMap.FastOrderedSet, Byte2CharSortedMap.FastSortedSet
Umschließende Schnittstelle:
Byte2CharMap

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