Package org.openscience.cdk.qsar.result
Class DoubleArrayResult
java.lang.Object
org.openscience.cdk.qsar.result.DoubleArrayResultType
org.openscience.cdk.qsar.result.DoubleArrayResult
- All Implemented Interfaces:
Serializable
,IDescriptorResult
- See Also:
- Source code:
- main
- Belongs to CDK module:
- standard
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoubleArrayResult
public DoubleArrayResult() -
DoubleArrayResult
public DoubleArrayResult(int size)
-
-
Method Details
-
add
public void add(double value) -
get
public double get(int index) The first double is at index = 0; -
length
public int length()Description copied from interface:IDescriptorResult
Returns the length of this descriptor.- Specified by:
length
in interfaceIDescriptorResult
- Overrides:
length
in classDoubleArrayResultType
- Returns:
- the length of the array of return values.
-
toString
Description copied from interface:IDescriptorResult
String representation of the result.- Specified by:
toString
in interfaceIDescriptorResult
- Overrides:
toString
in classDoubleArrayResultType
- Returns:
- A string representation.
-