object Validate extends Serializable
- Source
- Validate.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Validate
- Serializable
- 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
Validate
that ignores its input and always yieldsapi.Failed
. -
def
alwaysPassed[T, P, R](r: R): Aux[T, P, R]
Returns a
Validate
that 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
constant[T, P, R](isValidV: Result[R], showV: String): Aux[T, P, R]
Constructs a constant
Validate
from its parameters. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
Validate
from the partial functionpf
.Constructs a
Validate
from the partial functionpf
. AllT
s for whichpf
throws an exception are considered invalid according toP
. -
def
fromPredicate[T, P](f: (T) ⇒ Boolean, showExpr: (T) ⇒ String, p: P): Plain[T, P]
Constructs a
Validate
from the predicatef
.Constructs a
Validate
from the predicatef
. All values of typeT
for whichf
returnstrue
are considered valid according toP
. -
final
def
getClass(): Class[_]
- 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
Validate
from 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()