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