Schnittstelle Iterator.OnIteratorCopyFunction

Umschließende Klasse:
Iterator
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Iterator.OnIteratorCopyFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    This function will be called when creating a copy of @it and should
    create a copy of all custom iterator fields or increase their
    reference counts.
  • Methodendetails

    • onIteratorCopyFunction

      void onIteratorCopyFunction(CallbackHandler __self, @Nonnull Iterator it, @Nonnull Iterator copy)
      This function will be called when creating a copy of @it and should
      create a copy of all custom iterator fields or increase their
      reference counts.
      Parameter:
      it - The original iterator
      copy - The copied iterator