Interface MapListModel.OnMapListModelMapFunc

Enclosing class:
MapListModel
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 MapListModel.OnMapListModelMapFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    User function that is called to map an @item of the original model to
    an item expected by the map model.
  • Method Details

    • onMapListModelMapFunc

      Pointer onMapListModelMapFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data)
      User function that is called to map an @item of the original model to
      an item expected by the map model.

      The returned items must conform to the item type of the model they are
      used with.
      Parameters:
      item - The item to map
      user_data - user data
      Returns:
      The item to map to