E
- concrete ODataEntity implementationT
- concrete ODataEntitySet implementationpublic class ClientEntitySetIterator<T extends ClientEntitySet,E extends ClientEntity> extends Object implements Iterator<E>
Modifier and Type | Field and Description |
---|---|
protected ResWrap<Entity> |
cached |
protected ODataClient |
odataClient |
Constructor and Description |
---|
ClientEntitySetIterator(ODataClient odataClient,
InputStream stream,
ContentType contentType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the current iterator.
|
URI |
getNext()
Gets the next link if exists.
|
boolean |
hasNext() |
E |
next() |
void |
remove()
Unsupported operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final ODataClient odataClient
public ClientEntitySetIterator(ODataClient odataClient, InputStream stream, ContentType contentType)
odataClient
- client instance getting this requeststream
- source stream.contentType
- OData format.public boolean hasNext()
hasNext
in interface Iterator<E extends ClientEntity>
public E next()
next
in interface Iterator<E extends ClientEntity>
public void remove()
remove
in interface Iterator<E extends ClientEntity>
public void close()
public URI getNext()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.