public final class GJDoubleDataVector extends GJAbstractDataVector<java.lang.Double[]>
GJDataVectorInterface.AXIScategories| Constructor and Description |
|---|
GJDoubleDataVector()
Used for JUnit tests/XML
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getDataValues(GJDataTransformInterface transform)
Returns the data as an IEEE double precision array transformed by the
class specified by
getTranform |
int |
getDimension()
Length of the vector in the DataBuffer
|
double[] |
getRawDataValues()
Returns the data as an IEEE double precision array without
applying a transform
|
void |
setDataBufferData(java.util.AbstractList<? extends java.lang.Number> v)
Sets the vector in the DataBuffer to the
|
void |
setDataBufferData(double[] v)
Sets the vector in the DataBuffer to the
|
void |
setDataBufferData(int[] v)
Sets the vector in the DataBuffer to the
|
void |
setEntry(int index,
double val)
Sets a value in the DataBuffer
This method should fire a PropertyChangeEvent when the buffer data are
changed
|
void |
setEntry(int index,
java.lang.Double val) |
clearDataBufferData, getBufferClass, getCategories, getCategory, getDataBuffer, getEntry, getName, isCategorical, propertyChange, setCategories, setCategories, setCategory, setDataBuffer, setDataBufferData, setNameaddLink, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getLinks, getPCS, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removeLink, removePropertyChangeListener, removePropertyChangeListener, setLinksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removePropertyChangeListener, removePropertyChangeListenerpublic final void setDataBufferData(double[] v)
v - a double[] which will be deep copied to a Double[] as the data
bufferpublic final void setDataBufferData(int[] v)
v - an int[] which will be deep copied to a Double[] as the data
bufferpublic final void setDataBufferData(java.util.AbstractList<? extends java.lang.Number> v)
v - an AbstractList extends Number>, values from which which will
be deep copied to a Double[] as the data buffer. Precision will be lost
if the AbstractList contains data such a BigDecimal or Long.public final void setEntry(int index,
double val)
GJDataVectorInterfaceval - the new value as doublepublic final void setEntry(int index,
java.lang.Double val)
public final double[] getDataValues(GJDataTransformInterface transform)
getTranformpublic final double[] getRawDataValues()
public final int getDimension()