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()
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 <U> EmptyItemIterable<U> |
instance() |
Iterator<T> |
iterator() |
ItemIterable<T> |
skipTo(long position)
Skips to position within CMIS collection.
|
public static final EmptyItemIterable<?> INSTANCE
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 containpublic 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>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.