|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.util.EmptyItemIterable<T>
public class EmptyItemIterable<T>
An empty item iterable.
Nested Class Summary | |
---|---|
static class |
EmptyItemIterable.EmptyIterator<V>
An empty iterator. |
Field Summary | |
---|---|
static EmptyItemIterable<?> |
INSTANCE
|
Constructor Summary | |
---|---|
EmptyItemIterable()
|
Method Summary | ||
---|---|---|
boolean |
getHasMoreItems()
Returns whether the repository contains additional items beyond the page of items already fetched. |
|
ItemIterable<T> |
getPage()
Gets an iterable for the current sub collection within the CMIS collection using default maximum number of items |
|
ItemIterable<T> |
getPage(int maxNumItems)
Gets an iterable for the current sub collection within the CMIS collection |
|
long |
getPageNumItems()
Returns the number of items fetched for the current page. |
|
long |
getTotalNumItems()
Returns the total number of items. |
|
static
|
instance()
|
|
java.util.Iterator<T> |
iterator()
|
|
ItemIterable<T> |
skipTo(long position)
Skip to position within CMIS collection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EmptyItemIterable<?> INSTANCE
Constructor Detail |
---|
public EmptyItemIterable()
Method Detail |
---|
public static <U> EmptyItemIterable<U> instance()
public ItemIterable<T> skipTo(long position)
ItemIterable
skipTo
in interface ItemIterable<T>
this
public ItemIterable<T> getPage()
ItemIterable
getPage
in interface ItemIterable<T>
public ItemIterable<T> getPage(int maxNumItems)
ItemIterable
getPage
in interface ItemIterable<T>
maxNumItems
- maximum number of items the sub collection will contain
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
iterator
in interface ItemIterable<T>
public long getPageNumItems()
ItemIterable
getPageNumItems
in interface ItemIterable<T>
public boolean getHasMoreItems()
ItemIterable
getHasMoreItems
in interface ItemIterable<T>
public long getTotalNumItems()
ItemIterable
getTotalNumItems
in interface ItemIterable<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |