public class WritableDataList extends DataList
Constructor and Description |
---|
WritableDataList(StorageModel sm,
Object list) |
WritableDataList(StorageModel sm,
Object list,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
Object |
getData()
Get the contained data by reference.
|
DataList |
readOnlyList()
Return a read only view to this list.
|
DoubleArray |
toDoubleArray() |
DoubleArrayArray |
toDoubleArrayArray() |
IntArray |
toIntArray() |
IntArrayArray |
toIntArrayArray() |
get, getStorageModel, item, size, toString
copyTo, copyTo, printUsage, toDoubleArray, toDoubleArrayArray, toIntArray, toIntArrayArray, toStringArray, toStringArray, toStringArrayArray, toStringArrayArray
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public WritableDataList(StorageModel sm, Object list)
public WritableDataList(StorageModel sm, Object list, int off, int len)
public Object getData()
public DataList readOnlyList()
DataList
this
for DataList classes that do not provide any method with modifying side
effects. Writeable instances will create a read only view using the same
underlying data reference thus changes to the writable list will propagate
immediately to these views. The views might be cached and reused.readOnlyList
in class DataList
public DoubleArray toDoubleArray()
toDoubleArray
in class DataList
public IntArray toIntArray()
toIntArray
in class DataList
public IntArrayArray toIntArrayArray()
toIntArrayArray
in class DataList
public DoubleArrayArray toDoubleArrayArray()
toDoubleArrayArray
in class DataList