Schnittstelle Completion.OnCompletionStrncmpFunc

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

@FunctionalInterface public static interface Completion.OnCompletionStrncmpFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onCompletionStrncmpFunc(CallbackHandler __self, Str s1, Str s2, long n)
    Specifies the type of the function passed to
    g_completion_set_compare().
  • Methodendetails

    • onCompletionStrncmpFunc

      int onCompletionStrncmpFunc(CallbackHandler __self, @Nonnull Str s1, @Nonnull Str s2, long n)
      Specifies the type of the function passed to
      g_completion_set_compare(). This is used when you use strings as
      #GCompletion items.
      Parameter:
      s1 - string to compare with @s2.
      s2 - string to compare with @s1.
      n - maximal number of bytes to compare.
      Gibt zurück:
      an integer less than, equal to, or greater than zero if the first @n bytes of @s1 is found, respectively, to be less than, to match, or to be greater than the first @n bytes of @s2.