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, toStringcopyTo, copyTo, printUsage, toDoubleArray, toDoubleArrayArray, toIntArray, toIntArrayArray, toStringArray, toStringArray, toStringArrayArray, toStringArrayArrayadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic WritableDataList(StorageModel sm, Object list)
public WritableDataList(StorageModel sm, Object list, int off, int len)
public Object getData()
public DataList readOnlyList()
DataListthis
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 DataListpublic DoubleArray toDoubleArray()
toDoubleArray in class DataListpublic IntArray toIntArray()
toIntArray in class DataListpublic IntArrayArray toIntArrayArray()
toIntArrayArray in class DataListpublic DoubleArrayArray toDoubleArrayArray()
toDoubleArrayArray in class DataList