public abstract class AbstractDataSource extends java.lang.Object implements DataSource
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 and Description |
---|
AbstractDataSource() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Resource> |
iterator()
Returns the data.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGuessTotal, getLimit, getOffset
public java.util.Iterator<Resource> iterator()
DataSource
iterator
in interface DataSource
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"