object NumericConstraints extends Enumeration
Enumeration of all possible relations/constraints between two arbitrary numeric values.
- Alphabetic
- By Inheritance
- NumericConstraints
- Enumeration
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 SortedSetLike[Value, ValueSet] with Serializable
- Definition Classes
- Enumeration
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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( ... )
- Note
This a narrowing operation.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
c1orc2holds. 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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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(): 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
- @native() @throws( ... )
-
final
def
withName(s: String): Value
- Definition Classes
- Enumeration