public final class EmptyDataSource extends Object implements DataSource
| Modifier and Type | Method and Description |
|---|---|
Long |
getGuessTotal()
Returns the total count or the total as far as it is known.
|
static DataSource |
instance()
Returns the singleton instance.
|
Iterator<Resource> |
iterator()
Returns the data.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLimit, getOffset@Nonnull public static DataSource instance()
@Nonnull public Iterator<Resource> iterator()
DataSourceiterator in interface DataSourcepublic Long getGuessTotal()
DataSourcenull by default.getGuessTotal in interface DataSourcenull if it is not known.Copyright © 2010 - 2020 Adobe. All Rights Reserved