Package nds2

Class connection_iterator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<buffer[]>, java.util.Iterator<buffer[]>

    public class connection_iterator
    extends java.lang.Object
    implements java.util.Iterator<buffer[]>, java.lang.Iterable<buffer[]>, java.io.Closeable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected void closeOnFinish()  
      void delete()  
      protected void finalize()  
      boolean hasNext()  
      java.util.Iterator<buffer[]> iterator()  
      buffer[] next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • connection_iterator

        public connection_iterator​(connection Container)
    • Method Detail

      • closeOnFinish

        protected void closeOnFinish()
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • iterator

        public java.util.Iterator<buffer[]> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<buffer[]>
      • remove

        public void remove()
                    throws java.lang.UnsupportedOperationException
        Specified by:
        remove in interface java.util.Iterator<buffer[]>
        Throws:
        java.lang.UnsupportedOperationException
      • next

        public buffer[] next()
                      throws java.util.NoSuchElementException
        Specified by:
        next in interface java.util.Iterator<buffer[]>
        Throws:
        java.util.NoSuchElementException
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<buffer[]>
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable