T
- the message payload typepublic interface MessageSequence<T> extends Iterator<T>
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_SIZE |
static final int UNKNOWN_SIZE
boolean isEmpty()
int size()
UNKNOWN_SIZE
,
if it is unknownboolean hasNext()
hasNext
in interface Iterator<T>
Iterator.hasNext()
T next()
size()
is not equal to
UNKNOWN_SIZE
, this means that this method may be invoked
approximately up to size()
times.void remove()
MessageSequence
do not allow removal of elements.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.