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
public class DoubleArrayResult extends DoubleArrayResultType
- See Also:
- Serialized Form
- Source code:
- main
- Belongs to CDK module:
- standard
-
-
Constructor Summary
Constructors Constructor Description DoubleArrayResult()
DoubleArrayResult(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(double value)
double
get(int index)
The first double is at index = 0;int
length()
Returns the length of this descriptor.String
toString()
String representation of the result.
-
-
-
Method Detail
-
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
public String toString()
Description copied from interface:IDescriptorResult
String representation of the result.- Specified by:
toString
in interfaceIDescriptorResult
- Overrides:
toString
in classDoubleArrayResultType
- Returns:
- A string representation.
-
-