@Override
      public boolean hasNext() {
        if (next != null) {
          return true;
        }
        try {
          return (next = ResultScanner.this.next()) != null;
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
Interface for client-side scanning. Go to {@link Table} to obtain instances.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ResultScanner.java