public final class GJBigDecimalDataVector extends GJAbstractDataVector<java.math.BigDecimal[]>
GJDataVectorInterface.AXIS
categories
Constructor and Description |
---|
GJBigDecimalDataVector()
Used for JUnit tests
|
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 |
setDataBuffer(java.math.BigDecimal[] buffer)
Override superclass
setDataBuffer method. |
void |
setDataBufferData(java.util.AbstractList<? extends java.lang.Number> v)
Sets the vector in the DataBuffer to the
|
void |
setDataBufferData(java.math.BigDecimal[] v) |
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,
java.math.BigDecimal val) |
void |
setEntry(int index,
double val)
Sets a value in the DataBuffer
This method should fire a PropertyChangeEvent when the buffer data are
changed
|
clearDataBufferData, getBufferClass, getCategories, getCategory, getDataBuffer, getEntry, getName, isCategorical, propertyChange, setCategories, setCategories, setCategory, setDataBuffer, setDataBufferData, setName
addLink, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getLinks, getPCS, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removeLink, removePropertyChangeListener, removePropertyChangeListener, setLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removePropertyChangeListener, removePropertyChangeListener
public 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 copied to a BigDecimal[] as the data
bufferpublic final void setDataBufferData(java.math.BigDecimal[] v)
public 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 BigDecimal[] as the data buffer.public final void setEntry(int index, double val)
GJDataVectorInterface
val
- the new value as doublepublic final void setEntry(int index, java.math.BigDecimal val)
public final void setDataBuffer(java.math.BigDecimal[] buffer)
setDataBuffer
method. Needed for XMLCoder -
BigDecimal not supported otherwise.buffer
- BigDecimal[] with the datapublic final double[] getDataValues(GJDataTransformInterface transform)
getTranform
public final double[] getRawDataValues()
public final int getDimension()