Schnittstelle Iterator.OnIteratorNextFunction

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.OnIteratorNextFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    The function that will be called when the next element of the iterator
    should be retrieved.
  • Methodendetails

    • onIteratorNextFunction

      int onIteratorNextFunction(CallbackHandler __self, @Nonnull Iterator it, @Nonnull Value result)
      The function that will be called when the next element of the iterator
      should be retrieved.

      Implementors of a #GstIterator should implement this
      function and pass it to the constructor of the custom iterator.
      The function will be called with the iterator lock held.
      Parameter:
      it - the iterator
      result - a pointer to hold the next item
      Gibt zurück:
      the result of the operation.