org.jcamp.math.OrderedArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcamp-dx Show documentation
Show all versions of jcamp-dx Show documentation
The JCAMP-DX project is the reference implemention of the IUPAC JCAMP-DX spectroscopy data standard.
The newest version!
package org.jcamp.math;
import java.io.Serializable;
/**
* extended array with sorted values.
*
* @author Thomas Weber
*/
public abstract class OrderedArray
extends Array
implements Cloneable, Serializable {
/** for serialization. */
private static final long serialVersionUID = 5527645205009351239L;
/**
* OrderedArray constructor comment.
*/
public OrderedArray() {
super();
}
/**
* OrderedArray constructor comment.
* @param length int
*/
public OrderedArray(int length) {
super(length);
}
/**
* @return java.lang.Object
*/
@Override
public Object clone() {
OrderedArray array = null;
// try {
array = (OrderedArray) super.clone();
// } catch (CloneNotSupportedException e) {}
return array;
}
}