ptolemy.math
Class Precision.ExpressionLanguagePrecisionFormat

java.lang.Object
  extended by ptolemy.math.Precision.PrecisionFormat
      extended by ptolemy.math.Precision.LengthIntegerPrecisionFormat
          extended by 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
Precision.ExpressionLanguagePrecisionFormat()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Precision.ExpressionLanguagePrecisionFormat

public Precision.ExpressionLanguagePrecisionFormat()
Method Detail

printPrecisionFormat

public java.lang.String printPrecisionFormat(Precision p)
Regular expression for ExpressionLanguagePrecisionFormat. For example: (3,2).

Overrides:
printPrecisionFormat in class Precision.LengthIntegerPrecisionFormat
Parameters:
p - Precision object to represent as a String.
Returns:
String representing the Precision object