object Validate extends Serializable
- Source
- Validate.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Validate
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def alwaysFailed[T, P, R](r: R): Aux[T, P, R]
Returns a
Validatethat ignores its input and always yieldsapi.Failed. - def alwaysPassed[T, P, R](r: R): Aux[T, P, R]
Returns a
Validatethat ignores its input and always yieldsapi.Passed. - def apply[T, P](implicit v: Validate[T, P]): Aux[T, P, R]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def constant[T, P, R](isValidV: Result[R], showV: String): Aux[T, P, R]
Constructs a constant
Validatefrom its parameters. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromPartial[T, U, P](pf: (T) => U, name: String, p: P): Plain[T, P]
Constructs a
Validatefrom the partial functionpf.Constructs a
Validatefrom the partial functionpf. AllTs for whichpfthrows an exception are considered invalid according toP. - def fromPredicate[T, P](f: (T) => Boolean, showExpr: (T) => String, p: P): Plain[T, P]
Constructs a
Validatefrom the predicatef.Constructs a
Validatefrom the predicatef. All values of typeTfor whichfreturnstrueare considered valid according toP. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def instance[T, P, R0](f: (T) => Result[R0], g: (T) => String): Aux[T, P, R0]
Constructs a
Validatefrom its parameters. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()