Package org.gnupg

Schnittstelle GnuPGDummyKeyUtil.KeyFilter

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

@FunctionalInterface public static interface GnuPGDummyKeyUtil.KeyFilter
Filter for selecting keys.
  • Methodendetails

    • filter

      boolean filter(long keyId)
      Return true, if the given key should be selected, false otherwise.
      Parameter:
      keyId - id of the key
      Gibt zurück:
      select
    • any

      Select any key.
      Gibt zurück:
      filter
    • only

      static GnuPGDummyKeyUtil.KeyFilter only(long onlyKeyId)
      Select only the given keyId.
      Parameter:
      onlyKeyId - only acceptable key id
      Gibt zurück:
      filter
    • selected

      Select all keyIds which are contained in the given set of ids.
      Parameter:
      ids - set of acceptable keyIds
      Gibt zurück:
      filter