MaxSize

case
class MaxSize[T, C <: ([_] =>> Iterable[_])](value: Int) extends Primitive[C[T]]
trait Serializable
trait Product
trait Equals
trait Primitive[C[T]]
trait Validator[C[T]]
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def apply(t: C[T]): List[ValidationError[_]]
Definition Classes

Inherited methods

def and(other: Validator[C[T]]): Validator[C[T]]
Inherited from
Validator
def contramap[TT](g: TT => C[T]): Validator[TT]
Inherited from
Validator
def or(other: Validator[C[T]]): Validator[C[T]]
Inherited from
Validator
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def show: Option[String]
Inherited from
Validator