|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.data.EmptyDataSet<T>
public final class EmptyDataSet<T>
Dummy dataset provides empty set of items.
Constructor Summary | |
---|---|
EmptyDataSet(Class<T> itemClass)
|
Method Summary | |
---|---|
Class<T> |
getItemClass()
Returns item class. |
long |
getTotalCount()
Returns total count of items could be returned by the current dataset. |
Iterator<T> |
iterator()
|
void |
setCount(long count)
Sets the max size of fetching fragment. |
void |
setStart(long start)
Sets the start index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyDataSet(Class<T> itemClass)
Method Detail |
---|
public Iterator<T> iterator()
iterator
in interface Iterable<T>
public Class<T> getItemClass()
DataSet
getItemClass
in interface DataSet<T>
public long getTotalCount()
DataSet
getTotalCount
in interface DataSet<T>
public void setStart(long start)
SlicingDataSet
setStart
in interface SlicingDataSet<T>
public void setCount(long count)
SlicingDataSet
setCount
in interface SlicingDataSet<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |