Interface BidirectionalIterator<K>

    • Method Summary

      Modifier and Type Method Description
      boolean hasPrevious()
      Returns whether there is a previous element.
      K previous()
      Returns the previous element from the collection.
    • 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()