Class MboxIterator.MessageIterator

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MessageIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      CharBufferWrapper next()
      Returns a CharBuffer instance that contains a message between position and limit.
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • MessageIterator

        private MessageIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<CharBufferWrapper>
      • next

        public CharBufferWrapper next()
        Returns a CharBuffer instance that contains a message between position and limit. The array that backs this instance is the whole block of decoded messages.
        Specified by:
        next in interface java.util.Iterator<CharBufferWrapper>
        Returns:
        CharBuffer instance
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<CharBufferWrapper>