Schnittstelle Object2ObjectMap.FastEntrySet<T,V>

Typparameter:
T - the keyType of elements maintained by this Collection
V - the keyType of elements maintained by this Collection
Alle Superschnittstellen:
Collection<Object2ObjectMap.Entry<T,V>>, ISizeProvider, Iterable<Object2ObjectMap.Entry<T,V>>, ObjectCollection<Object2ObjectMap.Entry<T,V>>, ObjectIterable<Object2ObjectMap.Entry<T,V>>, ObjectSet<Object2ObjectMap.Entry<T,V>>, Set<Object2ObjectMap.Entry<T,V>>
Alle bekannten Unterschnittstellen:
Object2ObjectOrderedMap.FastOrderedSet<T,V>, Object2ObjectSortedMap.FastSortedSet<T,V>
Umschließende Schnittstelle:
Object2ObjectMap<T,V>

public static interface Object2ObjectMap.FastEntrySet<T,V> extends ObjectSet<Object2ObjectMap.Entry<T,V>>
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 Object2ObjectMap.Entry<T,V>> 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