Interface PtrArray.OnCopyFunc

Enclosing class:
PtrArray
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PtrArray.OnCopyFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    onCopyFunc(CallbackHandler __self, Pointer src, Pointer user_data)
    A function of this signature is used to copy the node data
    when doing a deep-copy of a tree.
  • Method Details

    • onCopyFunc

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