Schnittstelle DoublePredicate

Alle Superschnittstellen:
DoublePredicate
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public interface DoublePredicate extends DoublePredicate
A Type Specific Function interface that reduces boxing/unboxing and fills the gaps of interfaces that are missing.
  • Methodendetails

    • test

      boolean test(double k)
      Type Specific get function to reduce boxing/unboxing
      Angegeben von:
      test in Schnittstelle DoublePredicate
      Parameter:
      k - the value that should be processed
      Gibt zurück:
      the result of the function
    • alwaysTrue

      static DoublePredicate alwaysTrue()
      Creates a Always true function that may be useful if you don't need to process information or just want a default.
      Gibt zurück:
      a default returning function
    • alwaysFalse

      static DoublePredicate alwaysFalse()
      Creates a Always false function that may be useful if you don't need to process information or just want a default.
      Gibt zurück:
      a default returning function
    • andType

      default DoublePredicate andType(DoublePredicate other)
      A Type specific and-function helper function that reduces boxing/unboxing
      Parameter:
      other - the other function that should be merged with.
      Gibt zurück:
      a function that compares values in a and comparason
    • and

      Veraltet.
      Angegeben von:
      and in Schnittstelle DoublePredicate
    • negate

      default DoublePredicate negate()
      Angegeben von:
      negate in Schnittstelle DoublePredicate
    • orType

      default DoublePredicate orType(DoublePredicate other)
      A Type specific or-function helper function that reduces boxing/unboxing
      Parameter:
      other - the other function that should be merged with.
      Gibt zurück:
      a function that compares values in a or comparason
    • or

      Veraltet.
      Angegeben von:
      or in Schnittstelle DoublePredicate