Class Responses.PingDataIterator

  • All Implemented Interfaces:
    java.util.Iterator<PingData>
    Enclosing class:
    Responses

    protected static class Responses.PingDataIterator
    extends java.lang.Object
    implements java.util.Iterator<PingData>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected PingData[] data  
      protected int end_index  
      protected int index  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      PingData next()  
      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
    • Field Detail

      • end_index

        protected final int end_index
      • index

        protected int index
    • Constructor Detail

      • PingDataIterator

        public PingDataIterator​(PingData[] data,
                                int end_index)
    • Method Detail

      • hasNext

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

        public PingData next()
        Specified by:
        next in interface java.util.Iterator<PingData>
      • remove

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