Schnittstelle FlowBox.OnFlowBoxSortFunc

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

@FunctionalInterface public static interface FlowBox.OnFlowBoxSortFunc
  • Methodendetails

    • onFlowBoxSortFunc

      int onFlowBoxSortFunc(CallbackHandler __self, @Nonnull FlowBoxChild child1, @Nonnull FlowBoxChild child2, @Nullable Pointer user_data)
      A function to compare two children to determine which
      should come first.
      Parameter:
      child1 - the first child
      child2 - the second child
      user_data - user data
      Gibt zurück:
      < 0 if @child1 should be before @child2, 0 if they are equal, and > 0 otherwise