Packages

class Predicate[-A] extends (⇒ A) ⇒ PredicateResult

A Predicate[A] is capable of producing assertion results on an A. As a proposition, predicates compose using logical conjuction and disjunction, and can be negated.

Self Type
Predicate[A]
Linear Supertypes
(⇒ A) ⇒ PredicateResult, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Predicate
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def &&[A1 <: A](that: ⇒ Predicate[A1]): Predicate[A1]

    Returns a new predicate that succeeds only if both predicates succeed.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def andThen[A](g: (PredicateResult) ⇒ A): (⇒ A) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. final def apply(a: ⇒ A): PredicateResult

    Evaluates the predicate with the specified value.

    Evaluates the predicate with the specified value.

    Definition Classes
    Predicate → Function1
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def compose[A](g: (A) ⇒ ⇒ A): (A) ⇒ PredicateResult
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def equals(that: Any): Boolean
    Definition Classes
    Predicate → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def hashCode(): Int
    Definition Classes
    Predicate → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def negate: Predicate[A]

    Returns the negation of this predicate.

  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val run: (⇒ A) ⇒ PredicateResult
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def test(a: A): Boolean

    Tests the predicate to see if it would succeed on the given element.

  23. final def toString(): String

    Provides a meaningful string rendering of the predicate.

    Provides a meaningful string rendering of the predicate.

    Definition Classes
    Predicate → Function1 → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. final def ||[A1 <: A](that: ⇒ Predicate[A1]): Predicate[A1]

    Returns a new predicate that succeeds if either predicates succeed.

Inherited from (⇒ A) ⇒ PredicateResult

Inherited from AnyRef

Inherited from Any

Ungrouped