Interface Context.ContextIterator

All Superinterfaces:
Iterator<MuteMessage>
Enclosing interface:
Context

public static interface Context.ContextIterator extends Iterator<MuteMessage>
Customized iterator
  • 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