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, wait
getLimit, getOffset
@Nonnull public static DataSource instance()
@Nonnull public java.util.Iterator<Resource> iterator()
DataSource
iterator
in interface DataSource
public java.lang.Long getGuessTotal()
DataSource
null
by default.getGuessTotal
in interface DataSource
null
if it is not known.Copyright © 2010 - 2020 Adobe. All Rights Reserved