|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoeffFormat
This interface is used to represent the format of coefficients of mathematical expressions.
Method Summary | |
---|---|
java.lang.String |
format(double coefficient)
Returns a formatted string representation of the provided coefficient. |
java.lang.String |
format(java.lang.Double coefficient)
Returns a formatted string representation of the provided coefficient. |
java.lang.Double |
parse(java.lang.String coefficient)
Parses the provided string and returns its corresponding coefficient. |
double |
parsePrimitive(java.lang.String coefficient)
Parses the provided string and returns its corresponding coefficient. |
Method Detail |
---|
java.lang.String format(java.lang.Double coefficient)
format
in interface Formatter<java.lang.Double>
coefficient
- the coefficient to be formatted.
java.lang.String format(double coefficient)
coefficient
- the coefficient to be formatted.
java.lang.Double parse(java.lang.String coefficient)
parse
in interface Parser<java.lang.Double>
coefficient
- the string to be parsed.
double parsePrimitive(java.lang.String coefficient)
coefficient
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |