Interface GraphIterator<T extends KeyedObject>


  • public interface GraphIterator<T extends KeyedObject>
    Interface for VertexSet and EdgeSet iterators.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Return true if the iterator has more elements
      T next()
      Returns next element in the iteration.
      boolean remove()
      Removes the object from the backing set safely
    • Method Detail

      • hasNext

        boolean hasNext()
        Return true if the iterator has more elements
      • next

        T next()
        throws java.util.ConcurrentModificationException
        Returns next element in the iteration.
        Throws:
        java.util.ConcurrentModificationException - if the backing set has been modified since the iterator was created.
      • remove

        boolean remove()
        Removes the object from the backing set safely