public class EmptyItemIterable<T> extends Object implements ItemIterable<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
EmptyItemIterable.EmptyIterator<V>
An empty iterator.
|
| Modifier and Type | Field and Description |
|---|---|
static EmptyItemIterable<?> |
INSTANCE |
| Constructor and Description |
|---|
EmptyItemIterable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getHasMoreItems() |
ItemIterable<T> |
getPage() |
ItemIterable<T> |
getPage(int maxNumItems) |
long |
getPageNumItems() |
long |
getTotalNumItems() |
static <U> EmptyItemIterable<U> |
instance() |
Iterator<T> |
iterator() |
ItemIterable<T> |
skipTo(long position) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final EmptyItemIterable<?> INSTANCE
public static <U> EmptyItemIterable<U> instance()
public ItemIterable<T> skipTo(long position)
skipTo in interface ItemIterable<T>public ItemIterable<T> getPage()
getPage in interface ItemIterable<T>public ItemIterable<T> getPage(int maxNumItems)
getPage in interface ItemIterable<T>public long getPageNumItems()
getPageNumItems in interface ItemIterable<T>public boolean getHasMoreItems()
getHasMoreItems in interface ItemIterable<T>public long getTotalNumItems()
getTotalNumItems in interface ItemIterable<T>Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.