Package ptolemy.math
Class Precision.ExpressionLanguagePrecisionFormat
- java.lang.Object
-
- ptolemy.math.Precision.PrecisionFormat
-
- ptolemy.math.Precision.LengthIntegerPrecisionFormat
-
- ptolemy.math.Precision.ExpressionLanguagePrecisionFormat
-
- Enclosing class:
- Precision
public static class Precision.ExpressionLanguagePrecisionFormat extends Precision.LengthIntegerPrecisionFormat
Precision format for use with the Expression Language.
-
-
Field Summary
-
Fields inherited from class ptolemy.math.Precision.LengthIntegerPrecisionFormat
_regex
-
Fields inherited from class ptolemy.math.Precision.PrecisionFormat
COMMA_OR_FORWARDSLASH, OPTIONAL_L_PARAN, OPTIONAL_L_PARANBRACKET, OPTIONAL_R_PARAN, OPTIONAL_R_PARANBRACKET, OPTIONAL_U_OR_S_GROUP, OPTIONAL_WHITE_SPACE, PERIOD, SIGNED_INTEGER_GROUP, UNSIGNED_INTEGER_GROUP
-
-
Constructor Summary
Constructors Constructor Description ExpressionLanguagePrecisionFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
printPrecisionFormat(Precision p)
Regular expression for ExpressionLanguagePrecisionFormat.-
Methods inherited from class ptolemy.math.Precision.LengthIntegerPrecisionFormat
parseString
-
Methods inherited from class ptolemy.math.Precision.PrecisionFormat
parseInteger, parseSignString
-
-
-
-
Method Detail
-
printPrecisionFormat
public java.lang.String printPrecisionFormat(Precision p)
Regular expression for ExpressionLanguagePrecisionFormat. For example: (3,2).- Overrides:
printPrecisionFormat
in classPrecision.LengthIntegerPrecisionFormat
- Parameters:
p
- Precision object to represent as a String.- Returns:
- String representing the Precision object
-
-