Schnittstelle Float2ObjectMap.FastEntrySet<V>

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

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