|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.gcubedocumentlibrary.streams.folding.FoldingAbstractAdapter<FROM,TO,java.lang.Exception>
org.gcube.contentmanagement.gcubedocumentlibrary.streams.folding.FoldingRemoteAdapter<FROM,TO>
public class FoldingRemoteAdapter<FROM,TO>
An FoldingAbstractAdapter
with a RemoteIterator
interface.
Constructor Summary | |
---|---|
FoldingRemoteAdapter(
Creates an instance with a RemoteIterator , a Filter , and a IFaultPolicy . |
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
Returns true if the stream has more elements. |
java.lang.String |
locator()
|
java.util.List<TO> |
next()
Returns the next element in the stream. |
Methods inherited from class org.gcube.contentmanagement.gcubedocumentlibrary.streams.folding.FoldingAbstractAdapter |
---|
inner |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FoldingRemoteAdapter(rit, Filter<FROM,TO> f, IFaultPolicy<? extends java.lang.Exception> h, int s)
RemoteIterator
, a Filter
, and a IFaultPolicy
.
rit
- the iterator.f
- the filter.h
- the fault handler.Method Detail |
---|
public boolean hasNext()
true
if the stream has more elements.
hasNext
in class FoldingAbstractAdapter<FROM,TO,java.lang.Exception>
true
if the stream has more elements.public java.util.List<TO> next() throws java.lang.Exception
next
in class FoldingAbstractAdapter<FROM,TO,java.lang.Exception>
java.lang.Exception
public void close()
public java.lang.String locator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |