Schnittstelle Object.OnDuplicateFunc

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

@FunctionalInterface public static interface Object.OnDuplicateFunc
  • Methodenübersicht Linksymbol

    Modifizierer und Typ
    Methode
    Beschreibung
    onDuplicateFunc(CallbackHandler __self, Pointer data, Pointer user_data)
    The type of functions that are used to 'duplicate' an object.
  • Methodendetails Linksymbol

    • onDuplicateFunc Linksymbol

      Pointer onDuplicateFunc(CallbackHandler __self, @Nullable Pointer data, @Nullable Pointer user_data)
      The type of functions that are used to 'duplicate' an object.
      What this means depends on the context, it could just be
      incrementing the reference count, if @data is a ref-counted
      object.
      Parameter:
      data - the data to duplicate
      user_data - user data that was specified in g_datalist_id_dup_data()
      Gibt zurück:
      a duplicate of data