Package net.deechael.dynamichat.api
Interface Context.ContextIterator
- All Superinterfaces:
Iterator<MuteMessage>
- Enclosing interface:
- Context
Customized iterator
-
Method Summary
Modifier and TypeMethodDescriptionGet the id in recorded messages of current message objectintGet the index in recorded messages of current message objectbooleanTo check whether iterator has previous objectprevious()In contrast to Iterator#next()Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
hasPrevious
boolean hasPrevious()To check whether iterator has previous object- Returns:
- status
-
previous
MuteMessage previous()In contrast to Iterator#next()- Returns:
- previous object
-
getCurrentMessageIndex
int getCurrentMessageIndex()Get the index in recorded messages of current message object- Returns:
- the index in recorded messages
-
getCurrentMessageId
String getCurrentMessageId()Get the id in recorded messages of current message object- Returns:
- the id in recorded messages
-