public final class MessageIterator<Message> extends Object implements Iterator<Message>, Iterable<Message>, Serializable
Iterable
at the same time to
support the foreach syntax.Constructor and Description |
---|
MessageIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Iterator<Message> |
iterator() |
Message |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.