/[Apache-SVN]
ViewVC logotype

Revision 140834


Jump to revision: Previous Next
Author: tobrien
Date: Fri May 16 04:23:06 2003 UTC (21 years, 5 months ago)
Changed paths: 6
Log Message:
* DoubleArray is now an interface which is implemented by
ExpandableDoubleArray.  The interface provides a public interface
which does not hint at any of the storage parameters of
Expandable or Contractable.

* DoubleArrayTest now operates on the DoubleArray interface, casting
to Expandable when we need to call the package scopes getInternalLength
method.

* While we should not provide access to the internal storage array, it
should be possible to obtain a double[] of elements stored in this
DoubleArray - double[] getElements() was added to the DoubleArray interface,
it will return the element array.


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ContractableDoubleArray.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/DoubleArray.java added
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ExpandableDoubleArray.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/ContractableDoubleArrayTest.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/DoubleArrayAbstractTest.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/ExpandableDoubleArrayTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26