|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.math.SenseFormat
public final class SenseFormat
This class is used to represent formats of optimization senses.
The strings "Maximize"
and "Minimize"
are used to
represent optimization senses.
Constructor Summary | |
---|---|
SenseFormat()
|
Method Summary | |
---|---|
java.lang.String |
format(OptSense obj)
Returns a formatted string representation of the provided optimization sense. |
OptSense |
parse(java.lang.String source)
Parses the provided string and returns its corresponding object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SenseFormat()
Method Detail |
---|
public java.lang.String format(OptSense obj)
format
in interface Formatter<OptSense>
obj
- the optimization sense to be formatted.
public OptSense parse(java.lang.String source)
parse
in interface Parser<OptSense>
source
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |