public interface StorableTBase<T> extends TBase, java.io.Serializable
TSet
s that store data would need to implement this
interface. This defines the methods that other classes can use to access the stored data. Once
the data is stored, it would be exposed to as another "SourceTSet".Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getData()
retrieve data saved in the TSet as a
List |
default DataObject<T> |
getDataObject() |
TBase |
getStoredSourceTSet()
retrieve data saved in the TSet
|
java.util.List<T> getData()
List
NOTE: use this method only when you need to pull the data from the tset. Otherwise this would unnecessarily loads data to the memory.
default DataObject<T> getDataObject()
TBase getStoredSourceTSet()