Package org.ojalgo.type.format
Class BooleanFormat
- java.lang.Object
-
- java.text.Format
-
- org.ojalgo.type.format.BooleanFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public final class BooleanFormat extends java.text.Format
BooleanFormat doesn't do anything useful, but it was needed for BooleanContext (that doesn't do much either).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
myFalseValue
private java.lang.String
myNullValue
private java.lang.String
myTrueValue
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description BooleanFormat()
BooleanFormat(java.lang.String trueValue, java.lang.String falseValue)
BooleanFormat(java.lang.String trueValue, java.lang.String falseValue, java.lang.String nullValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuffer
format(java.lang.Object object, java.lang.StringBuffer buffer, java.text.FieldPosition position)
java.lang.Boolean
parseObject(java.lang.String source, java.text.ParsePosition position)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
myFalseValue
private final java.lang.String myFalseValue
-
myNullValue
private final java.lang.String myNullValue
-
myTrueValue
private final java.lang.String myTrueValue
-
-
Method Detail
-
format
public java.lang.StringBuffer format(java.lang.Object object, java.lang.StringBuffer buffer, java.text.FieldPosition position)
- Specified by:
format
in classjava.text.Format
-
parseObject
public java.lang.Boolean parseObject(java.lang.String source, java.text.ParsePosition position)
- Specified by:
parseObject
in classjava.text.Format
-
-