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:
-
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:IDescriptorResultReturns the length of this descriptor.- Specified by:
lengthin interfaceIDescriptorResult- Overrides:
lengthin classDoubleArrayResultType- Returns:
- the length of the array of return values.
-
toString
Description copied from interface:IDescriptorResultString representation of the result.- Specified by:
toStringin interfaceIDescriptorResult- Overrides:
toStringin classDoubleArrayResultType- Returns:
- A string representation.
-