public abstract class AbstractDataBlock extends Object implements DataBlock, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
atomCount |
protected int |
startIndex |
Constructor and Description |
---|
AbstractDataBlock() |
Modifier and Type | Method and Description |
---|---|
abstract AbstractDataBlock |
clone()
Full copy of datablock structure and values
A new underlying object is created with the same values
|
abstract AbstractDataBlock |
copy()
Shallow copy of datablock structure
The underlying object is shared
|
int |
getAtomCount()
Returns number of scalar values in this DataBlock
|
abstract Object |
getUnderlyingObject()
Allow direct access to underlying object carrying
the data (usually a primitive array or composite)
|
abstract AbstractDataBlock |
renew()
Regenerate an identical datablock of same
size with a new underlying object
|
abstract void |
setUnderlyingObject(Object obj)
Allows to set the underlying object directly
|
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBooleanValue, getBooleanValue, getByteValue, getByteValue, getDataType, getDataType, getDoubleValue, getDoubleValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getShortValue, getShortValue, getStringValue, getStringValue, resize, setBooleanValue, setBooleanValue, setByteValue, setByteValue, setDoubleValue, setDoubleValue, setFloatValue, setFloatValue, setIntValue, setIntValue, setLongValue, setLongValue, setShortValue, setShortValue, setStringValue, setStringValue
public abstract AbstractDataBlock copy()
public abstract AbstractDataBlock renew()
public abstract AbstractDataBlock clone()
public abstract Object getUnderlyingObject()
getUnderlyingObject
in interface DataBlock
public abstract void setUnderlyingObject(Object obj)
setUnderlyingObject
in interface DataBlock
obj
- public int getAtomCount()
getAtomCount
in interface DataBlock
Copyright © 2016 Sensia Software LLC. All rights reserved.