T
- target type.public class AccessorGetIterator<T> extends Object implements Iterator<T>
Iterator
of Objects, to convert it into an
Iterator
on the provided Accessor get result on these Objects.CastIterator
.Constructor and Description |
---|
AccessorGetIterator(IExecutionContext ctxt,
IReadAccessor accessor,
Iterator<? extends Object> it,
Class<T> targetType) |
Modifier and Type | Method and Description |
---|---|
IExecutionContext |
getCurrentContextWrapper() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public AccessorGetIterator(IExecutionContext ctxt, IReadAccessor accessor, Iterator<? extends Object> it, Class<T> targetType)
public T next()
next
in interface Iterator<T>
MRuleInternalRuntimeException
- Encapsulates MAccessorException
, if an exception occurs while accessing data
or MRuleInternalException
if an internal error occurs.public IExecutionContext getCurrentContextWrapper()