Object/Trait

eu.timepit.refined.api

Validate

Related Docs: trait Validate | package api

Permalink

object Validate extends Serializable

Source
Validate.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Validate
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Aux[T, P, R0] = Validate[T, P] { type R = R0 }

    Permalink
  2. type Plain[T, P] = Validate[T, P] { type R = P }

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def alwaysFailed[T, P, R](r: R): Aux[T, P, R]

    Permalink

    Returns a Validate that ignores its input and always yields api.Failed.

  5. def alwaysPassed[T, P, R](r: R): Aux[T, P, R]

    Permalink

    Returns a Validate that ignores its input and always yields api.Passed.

  6. def apply[T, P](implicit v: Validate[T, P]): Aux[T, P, R]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def constant[T, P, R](isValidV: Result[R], showV: String): Aux[T, P, R]

    Permalink

    Constructs a constant Validate from its parameters.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromPartial[T, U, P](pf: (T) ⇒ U, name: String, p: P): Plain[T, P]

    Permalink

    Constructs a Validate from the partial function pf.

    Constructs a Validate from the partial function pf. All Ts for which pf throws an exception are considered invalid according to P.

  14. def fromPredicate[T, P](f: (T) ⇒ Boolean, showExpr: (T) ⇒ String, p: P): Plain[T, P]

    Permalink

    Constructs a Validate from the predicate f.

    Constructs a Validate from the predicate f. All values of type T for which f returns true are considered valid according to P.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def instance[T, P, R0](f: (T) ⇒ Result[R0], g: (T) ⇒ String): Aux[T, P, R0]

    Permalink

    Constructs a Validate from its parameters.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped