Package org.xcsp.common.domains
Interface Values.SimpleValue
-
- All Known Implementing Classes:
Values.Decimal
,Values.IntegerValue
,Values.Rational
- Enclosing class:
- Values
public static interface Values.SimpleValue
An interface used to denote simple values, i.e., rational, decimal or integer values.
-
-
Method Summary
Static Methods Modifier and Type Method Description static Values.SimpleValue
parse(String s)
Returns a simple value obtained by parsing the specified string.static Values.SimpleValue
parse(String s, boolean checkSpecialValues)
Returns a simple value obtained by parsing the specified string.static Values.SimpleValue[]
parseSeq(String seq)
Returns an array of SimpleValue objects, obtained by parsing the specified string.
-
-
-
Method Detail
-
parse
static Values.SimpleValue parse(String s, boolean checkSpecialValues)
Returns a simple value obtained by parsing the specified string. The specified boolean allows us to indicate if special values (such as +infinity) must be checked.
-
parse
static Values.SimpleValue parse(String s)
Returns a simple value obtained by parsing the specified string.
-
parseSeq
static Values.SimpleValue[] parseSeq(String seq)
Returns an array of SimpleValue objects, obtained by parsing the specified string.
-
-