final class NumericConstraints[A] extends Serializable
Possible restrictions on the numeric value used. Needs an instance for Ordering
to check whether values are
valid w.r.t. to the properties.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NumericConstraints
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- NumericConstraints → AnyRef → Any
- val exclusiveMaximum: Option[Boolean]
- val exclusiveMinimum: Option[Boolean]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- NumericConstraints → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maximum: Option[A]
- val minimum: Option[A]
- val multipleOf: Option[A]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def satisfiedBy(value: A): Boolean
Check whether the value satisfies all the constraints
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- NumericConstraints → AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withExclusiveMaximum(exclusiveMaximum: Option[Boolean]): NumericConstraints[A]
- def withExclusiveMinimum(exclusiveMinimum: Option[Boolean]): NumericConstraints[A]
- def withMaximum(maximum: Option[A]): NumericConstraints[A]
- def withMinimum(minimum: Option[A]): NumericConstraints[A]
- def withMultipleOf(multipleOf: Option[A]): NumericConstraints[A]