org.mule.routing
Class AbstractMessageSequence<PayloadType>
java.lang.Object
org.mule.routing.AbstractMessageSequence<PayloadType>
- Type Parameters:
PayloadType
-
- All Implemented Interfaces:
- Iterator<PayloadType>, MessageSequence<PayloadType>
- Direct Known Subclasses:
- ArrayMessageSequence, CollectionMessageSequence, IteratorMessageSequence
public abstract class AbstractMessageSequence<PayloadType>
- extends Object
- implements MessageSequence<PayloadType>
An abstract implementation of a MessageSequence
, that does not support
remove()
- Author:
- flbulgarelli
Method Summary |
boolean |
isEmpty()
If the sequence is empty |
void |
remove()
Unsupported operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMessageSequence
public AbstractMessageSequence()
isEmpty
public final boolean isEmpty()
- Description copied from interface:
MessageSequence
- If the sequence is empty
- Specified by:
isEmpty
in interface MessageSequence<PayloadType>
- Returns:
- !hasNext()
remove
public final void remove()
- Description copied from interface:
MessageSequence
- Unsupported operation.
MessageSequence
do not allow removal of elements.
- Specified by:
remove
in interface Iterator<PayloadType>
- Specified by:
remove
in interface MessageSequence<PayloadType>
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.