Schnittstelle List.OnCopyFunc

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

@FunctionalInterface public static interface List.OnCopyFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    A function of this signature is used to copy the node data
    when doing a deep-copy of a tree.
  • Methodendetails

    • onCopyFunc

      Pointer onCopyFunc(CallbackHandler __self, @Nonnull Pointer src, @Nullable Pointer data)
      A function of this signature is used to copy the node data
      when doing a deep-copy of a tree.
      Parameter:
      src - A pointer to the data which should be copied
      data - Additional data
      Gibt zurück:
      A pointer to the copy