Interface IEdgeIter

    • Method Detail

      • peekNextInt

        int peekNextInt()
        Peek at the next edge of the iterator without advancing it.

        Similar to IntIterator.nextInt() but without advancing the iterator.

        Returns:
        the next edge of the iterator
        Throws:
        NoSuchElementException - if there is no 'next' element
      • sourceInt

        int sourceInt()
        Get the source vertex of the last returned edge.

        The behavior is undefined if IntIterator.nextInt() was not called yet.

        Returns:
        the source vertex of the last returned edge
      • targetInt

        int targetInt()
        Get the target vertex of the last returned edge.

        The behavior is undefined if IntIterator.nextInt() was not called yet.

        Returns:
        the target vertex of the last returned edge