|
|||||||||
| Home >> All >> joelib >> desc >> [ result overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
joelib.desc.result
Class DoubleResult

java.lang.Objectjoelib.data.JOEGenericData
joelib.data.JOEPairData
joelib.desc.result.DoubleResult
- All Implemented Interfaces:
- java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NativeValue, joelib.desc.NumberFormatDescResult, joelib.io.types.cml.ResultCMLProperties, java.io.Serializable
- public class DoubleResult
- extends joelib.data.JOEPairData
- implements java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NativeValue, joelib.io.types.cml.ResultCMLProperties, joelib.desc.NumberFormatDescResult, java.io.Serializable
- extends joelib.data.JOEPairData
Double results.
| Field Summary | |
private java.util.Hashtable |
cmlProperties
|
private static org.apache.log4j.Category |
logger
Obtain a suitable logger. |
double |
value
Description of the Field |
| Fields inherited from class joelib.data.JOEPairData |
_value |
| Fields inherited from class joelib.data.JOEGenericData |
dataType |
| Constructor Summary | |
DoubleResult()
Constructor for the DoubleResult object |
|
| Method Summary | |
void |
addCMLProperty(joelib.util.types.StringString property)
|
java.lang.Object |
clone()
This method may be called to create a new copy of the Object. |
DoubleResult |
clone(DoubleResult _target)
|
java.lang.String |
formatDescription(joelib.io.IOType ioType)
Description of the Method |
boolean |
fromPairData(joelib.io.IOType ioType,
joelib.data.JOEPairData pairData)
Description of the Method |
boolean |
fromString(joelib.io.IOType ioType,
java.lang.String sValue)
Description of the Method |
java.util.Enumeration |
getCMLProperties()
|
double |
getDouble()
Gets the double attribute of the DoubleResult object |
double |
getDoubleNV()
Gets the doubleNV attribute of the DoubleResult object |
int |
getIntNV()
Gets the intNV attribute of the DoubleResult object |
java.lang.String |
getStringNV()
Gets the stringNV attribute of the DoubleResult object |
boolean |
init(java.lang.String _descName)
Constructor for the DoubleResult object |
boolean |
isDoubleNV()
Gets the doubleNV attribute of the DoubleResult object |
boolean |
isIntNV()
Gets the intNV attribute of the DoubleResult object |
void |
setDouble(double _v)
Sets the double attribute of the DoubleResult object |
void |
setDoubleNV(double _value)
Sets the doubleNV attribute of the DoubleResult object |
void |
setIntNV(int _value)
Sets the intNV attribute of the DoubleResult object |
void |
setStringNV(java.lang.String _value)
Sets the stringNV attribute of the DoubleResult object |
java.lang.String |
toString(joelib.io.IOType ioType)
Description of the Method |
java.lang.String |
toString(joelib.io.IOType ioType,
wsi.ra.text.DecimalFormatter format)
Description of the Method |
| Methods inherited from class joelib.data.JOEPairData |
getValue, setValue, toString |
| Methods inherited from class joelib.data.JOEGenericData |
equals, finalize, getAttribute, getDataType, setAttribute |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
logger
private static org.apache.log4j.Category logger
- Obtain a suitable logger.
value
public double value
- Description of the Field
cmlProperties
private java.util.Hashtable cmlProperties
| Constructor Detail |
DoubleResult
public DoubleResult()
- Constructor for the DoubleResult object
| Method Detail |
getCMLProperties
public java.util.Enumeration getCMLProperties()
- Specified by:
getCMLPropertiesin interfacejoelib.io.types.cml.ResultCMLProperties
setDouble
public void setDouble(double _v)
- Sets the double attribute of the DoubleResult object
getDouble
public double getDouble()
- Gets the double attribute of the DoubleResult object
setDoubleNV
public void setDoubleNV(double _value)
- Sets the doubleNV attribute of the DoubleResult object
- Specified by:
setDoubleNVin interfacejoelib.desc.NativeValue
getDoubleNV
public double getDoubleNV()
- Gets the doubleNV attribute of the DoubleResult object
- Specified by:
getDoubleNVin interfacejoelib.desc.NativeValue
isDoubleNV
public boolean isDoubleNV()
- Gets the doubleNV attribute of the DoubleResult object
- Specified by:
isDoubleNVin interfacejoelib.desc.NativeValue
setIntNV
public void setIntNV(int _value)
- Sets the intNV attribute of the DoubleResult object
- Specified by:
setIntNVin interfacejoelib.desc.NativeValue
getIntNV
public int getIntNV()
- Gets the intNV attribute of the DoubleResult object
- Specified by:
getIntNVin interfacejoelib.desc.NativeValue
isIntNV
public boolean isIntNV()
- Gets the intNV attribute of the DoubleResult object
- Specified by:
isIntNVin interfacejoelib.desc.NativeValue
setStringNV
public void setStringNV(java.lang.String _value)
- Sets the stringNV attribute of the DoubleResult object
- Specified by:
setStringNVin interfacejoelib.desc.NativeValue
getStringNV
public java.lang.String getStringNV()
- Gets the stringNV attribute of the DoubleResult object
- Specified by:
getStringNVin interfacejoelib.desc.NativeValue
addCMLProperty
public void addCMLProperty(joelib.util.types.StringString property)
- Specified by:
addCMLPropertyin interfacejoelib.io.types.cml.ResultCMLProperties
clone
public DoubleResult clone(DoubleResult _target)
clone
public java.lang.Object clone()
- Description copied from class:
java.lang.Object - This method may be called to create a new copy of the
Object. The typical behavior is as follows:
o == o.clone()is falseo.getClass() == o.clone().getClass()is trueo.equals(o)is true
However, these are not strict requirements, and may be violated if necessary. Of the three requirements, the last is the most commonly violated, particularly if the subclass does not override Object.equals(Object)>
Object.equals(Object)55 .If the Object you call clone() on does not implement java.lang.Cloneable (which is a placeholder interface), then a CloneNotSupportedException is thrown. Notice that Object does not implement Cloneable; this method exists as a convenience for subclasses that do.
Object's implementation of clone allocates space for the new Object using the correct class, without calling any constructors, and then fills in all of the new field values with the old field values. Thus, it is a shallow copy. However, subclasses are permitted to make a deep copy.
All array types implement Cloneable, and override this method as follows (it should never fail):
public Object clone() { try { super.clone(); } catch (CloneNotSupportedException e) { throw new InternalError(e.getMessage()); } }- Specified by:
clonein interfacejoelib.desc.DescResult
formatDescription
public java.lang.String formatDescription(joelib.io.IOType ioType)
- Description of the Method
- Specified by:
formatDescriptionin interfacejoelib.desc.DescResult
fromPairData
public boolean fromPairData(joelib.io.IOType ioType, joelib.data.JOEPairData pairData) throws java.lang.NumberFormatException
- Description of the Method
- Specified by:
fromPairDatain interfacejoelib.desc.DescResult
fromString
public boolean fromString(joelib.io.IOType ioType, java.lang.String sValue) throws java.lang.NumberFormatException
- Description of the Method
- Specified by:
fromStringin interfacejoelib.desc.DescResult
init
public boolean init(java.lang.String _descName)
- Constructor for the DoubleResult object
- Specified by:
initin interfacejoelib.desc.DescResult
toString
public java.lang.String toString(joelib.io.IOType ioType)
- Description of the Method
- Specified by:
toStringin interfacejoelib.desc.DescResult
toString
public java.lang.String toString(joelib.io.IOType ioType, wsi.ra.text.DecimalFormatter format)
- Description of the Method
- Specified by:
toStringin interfacejoelib.desc.NumberFormatDescResult
|
|||||||||
| Home >> All >> joelib >> desc >> [ result overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC