Schnittstelle Char2CharMap.FastEntrySet

Alle Superschnittstellen:
Collection<Char2CharMap.Entry>, ISizeProvider, Iterable<Char2CharMap.Entry>, ObjectCollection<Char2CharMap.Entry>, ObjectIterable<Char2CharMap.Entry>, ObjectSet<Char2CharMap.Entry>, Set<Char2CharMap.Entry>
Alle bekannten Unterschnittstellen:
Char2CharOrderedMap.FastOrderedSet, Char2CharSortedMap.FastSortedSet
Umschließende Schnittstelle:
Char2CharMap

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