public class ValueSet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
| Constructor and Description |
|---|
ValueSet() |
ValueSet(double x,
double y) |
ValueSet(double x,
double[] y) |
ValueSet(int numy) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
ensureCapacity(int minCapacity)
Makes sure that the the internal storage arrays can accomodate and given
number of elements.
|
void |
insertValue(int index)
Inserts a blank value (RMACosnt.UNDEF_DOUBLE) into the y array values.
|
void |
insertValue(int index,
double value)
Inserts a blank value (RMACosnt.UNDEF_DOUBLE) into the y array values.
|
void |
removeValue(int index)
Removes a value from the y-value array.
|
public ValueSet()
public ValueSet(double x,
double y)
public ValueSet(double x,
double[] y)
public ValueSet(int numy)
public void insertValue(int index)
index - the index into the array to insert a UNDEF_VALUE;public void insertValue(int index,
double value)
index - the index into the array to insert a UNDEF_VALUE;value - the value to insert at the index position.public void removeValue(int index)
public void ensureCapacity(int minCapacity)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException