|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.gcubedocumentlibrary.streams.folding.UnfoldingAbstractAdapter<FROM,TO,E>
FROM
- the type of elements of the underlying stream.TO
- the type of elements of the stream.E
- the type of stream processing faults returned by the adapter.public abstract class UnfoldingAbstractAdapter<FROM,TO,E extends java.lang.Exception>
Abstract implementation for streams that adapt the elements of RemoteIterator
-based streams
by unfolding List
s of values that associated with those elements.
Constructor Summary | |
---|---|
UnfoldingAbstractAdapter(
Creates an instance with a RemoteIterator , a Filter , and a IFaultPolicy . |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the stream has more elements. |
TO |
next()
Returns the next element in the stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnfoldingAbstractAdapter(rit, Filter<FROM,java.util.List<TO>> f, IFaultPolicy<? extends E> h)
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.
true
if the stream has more elements.public TO next() throws E extends java.lang.Exception
E
- if the next element in the stream could not be returned.
E extends java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |