| Modifier and Type | Field and Description |
|---|---|
| public static final COSFloat | |
| private final float | |
| private String | |
| public static final COSFloat |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ICOSVisitor
The object to notify when visiting this object. visitor)Implements abstract org. Visitor pattern double dispatch method. |
| private float | Returns: the coerced valuethe value to be checked floatValue)Check and coerce the value field to be between MIN_NORMAL and MAX_VALUE. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | Returns: The value of this object.Implements abstract org. The value of the float object that this one wraps. |
| private String | Returns: current value as string.Builds, if needed, and returns the string representation of the current value. |
| public int | |
| public int | Returns: The int value of this object,Implements abstract org. This will get the integer value of this object. |
| public long | Returns: The long value of this object,Implements abstract org. This will get the long value of this object. |
| public String | |
| public void |
| ONE | back to summary |
|---|---|
| public static final COSFloat ONE | |
| value | back to summary |
|---|---|
| private final float value | |
| valueAsString | back to summary |
|---|---|
| private String valueAsString | |
| ZERO | back to summary |
|---|---|
| public static final COSFloat ZERO | |
| COSFloat | back to summary |
|---|---|
| public COSFloat(float aFloat) Constructor.
| |
| COSFloat | back to summary |
|---|---|
| private COSFloat(float aFloat, String valueString) An internal constructor to avoid formatting for the predefined constants. | |
| COSFloat | back to summary |
|---|---|
| public COSFloat(String aFloat) throws IOException Constructor.
| |
| accept | back to summary |
|---|---|
| public void accept(ICOSVisitor visitor) throws IOException Implements abstract org. Visitor pattern double dispatch method.
| |
| coerce | back to summary |
|---|---|
| private float coerce(float floatValue) Check and coerce the value field to be between MIN_NORMAL and MAX_VALUE.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract org. The value of the float object that this one wraps.
| |
| formatString | back to summary |
|---|---|
| private String formatString() Builds, if needed, and returns the string representation of the current value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intValue | back to summary |
|---|---|
| public int intValue() Implements abstract org. This will get the integer value of this object.
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements abstract org. This will get the long value of this object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writePDF | back to summary |
|---|---|
| public void writePDF(OutputStream output) throws IOException This will output this string as a PDF object.
| |