object NumericConstraints extends Enumeration
Enumeration of all possible relations/constraints between two arbitrary numeric values.
- Source
- NumericConstraints.scala
- Alphabetic
- By Inheritance
- NumericConstraints
- Enumeration
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Val extends Value with Serializable
- Attributes
- protected
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- abstract class Value extends Ordered[Value] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
- class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val !=: Value
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final val <: Value
- final val <=: Value
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val ==: Value
- final val >: Value
- final val >=: Value
- final val EQ: Int(5)
- final val GE: Int(4)
- final val GT: Int(3)
- final val LE: Int(2)
- final val LT: Int(1)
- final val NE: Int(6)
- final def Value(i: Int, name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value(i: Int): Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def Value: Value
- Attributes
- protected
- Definition Classes
- Enumeration
- final def apply(x: Int): Value
- Definition Classes
- Enumeration
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def combine(c1: Value, c2: Value): Value
Calculates the constraint that is in effect if both constraints need to be satisfied at the same time.
Calculates the constraint that is in effect if both constraints need to be satisfied at the same time. E.g., the result of combining "less than" with "equal or less than" is "less than". However, the combination of "less than" with "greater than" would throw an exception.
- returns
The combined constraint.
- Annotations
- @throws("if the combination doesn't make sense")
- Note
This a narrowing operation.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def inverse(relation: Value): Value
Returns the relation when we swap the operands.
Returns the relation when we swap the operands.
E.g.,
inverse(>) = <
;x < y === y > x
. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def join(c1: Value, c2: Value): Option[Value]
Joins the given constraints.
Joins the given constraints. I.e., returns the constraint that still has to hold if either
c1
orc2
holds. E.g., the result of joining "<" with "==" with is "<=".- Note
This is a widening operation.
- final def maxId: Int
- Definition Classes
- Enumeration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextId: Int
- Attributes
- protected
- Definition Classes
- Enumeration
- var nextName: Iterator[String]
- Attributes
- protected
- Definition Classes
- Enumeration
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def readResolve(): AnyRef
- Attributes
- protected
- Definition Classes
- Enumeration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Enumeration → AnyRef → Any
- def values: ValueSet
- Definition Classes
- Enumeration
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withName(s: String): Value
- Definition Classes
- Enumeration
- implicit object ValueOrdering extends Ordering[Value]
- Definition Classes
- Enumeration
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated