Class PeekableIterator.EmptyIterator<E>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.Iterator<E>, PeekableIterator<E>, org.apache.hugegraph.iterator.CIter<E>, org.apache.hugegraph.iterator.Metadatable
    Enclosing interface:
    PeekableIterator<T>

    public static class PeekableIterator.EmptyIterator<E>
    extends java.lang.Object
    implements PeekableIterator<E>
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      java.lang.Object metadata​(java.lang.String s, java.lang.Object... objects)  
      E next()  
      E peek()  
      • 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, remove
    • Constructor Detail

      • EmptyIterator

        public EmptyIterator()
    • Method Detail

      • hasNext

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

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

        public java.lang.Object metadata​(java.lang.String s,
                                         java.lang.Object... objects)
        Specified by:
        metadata in interface org.apache.hugegraph.iterator.Metadatable
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception