Class ResultSetIterator

  • All Implemented Interfaces:
    java.util.Iterator<long[]>

    class ResultSetIterator
    extends java.lang.Object
    implements java.util.Iterator<long[]>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long[] coordinates  
      private boolean hasNext  
      private java.sql.ResultSet resultSet  
    • Constructor Summary

      Constructors 
      Constructor Description
      ResultSetIterator​(java.sql.ResultSet rs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      long[] 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

      • resultSet

        private java.sql.ResultSet resultSet
      • hasNext

        private boolean hasNext
      • coordinates

        private final long[] coordinates
    • Constructor Detail

      • ResultSetIterator

        public ResultSetIterator​(java.sql.ResultSet rs)
                          throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • hasNext

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

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

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