E - concrete ODataEntity implementationES - concrete ODataEntitySet implementationpublic class ODataEntitySetIterator<ES extends CommonODataEntitySet,E extends CommonODataEntity> extends Object implements Iterator<E>
| Modifier and Type | Field and Description |
|---|---|
protected ResWrap<Entity> |
cached |
protected CommonODataClient<?> |
odataClient |
| Constructor and Description |
|---|
ODataEntitySetIterator(CommonODataClient<?> odataClient,
InputStream stream,
ODataFormat format)
Constructor.
|
protected final CommonODataClient<?> odataClient
public ODataEntitySetIterator(CommonODataClient<?> odataClient, InputStream stream, ODataFormat format)
odataClient - client instance getting this requeststream - source stream.format - OData format.public boolean hasNext()
hasNext in interface Iterator<E extends CommonODataEntity>public E next()
next in interface Iterator<E extends CommonODataEntity>public void remove()
remove in interface Iterator<E extends CommonODataEntity>public void close()
public URI getNext()
Copyright © 2013–2014 The Apache Software Foundation. All rights reserved.