Interface BidirectionalIterator<K>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasPrevious()
      Returns whether there is a previous element.
      K previous()
      Returns the previous element from the collection.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • previous

        K previous()
        Returns the previous element from the collection.
        Returns:
        the previous element from the collection.
        See Also:
        ListIterator.previous()
      • hasPrevious

        boolean hasPrevious()
        Returns whether there is a previous element.
        Returns:
        whether there is a previous element.
        See Also:
        ListIterator.hasPrevious()