Class AbstractDataSource
java.lang.Object
com.adobe.granite.ui.components.ds.AbstractDataSource
- All Implemented Interfaces:
DataSource
- Direct Known Subclasses:
SimpleDataSource
Abstract class that implements the
DataSource interface.
Implementor of DataSource is encouraged to extend this class to
ensure to always be able to support new methods that might be introduced in
the DataSource in the future.
Note that since Java 8, using abstract class to solve the above scenario is
no longer relevant. Instead, Java 8's default methods can be used.-
Constructor Details
-
AbstractDataSource
public AbstractDataSource()
-
-
Method Details
-
iterator
Description copied from interface:DataSourceReturns the data.- Specified by:
iteratorin interfaceDataSource- Returns:
- The iterator of the data.
-