Interface ReversibleOrderedSet<E>

  • All Superinterfaces:
    java.util.Collection<E>, java.lang.Iterable<E>, java.util.Set<E>

    public interface ReversibleOrderedSet<E>
    extends java.util.Set<E>
    A set that allows reverse iteration of the set elements, exposed via the reverseIterator() method. This only really makes sense for ordered Set implementations, such as sets which are linked.
    Manik Surtani
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Iterator<E> reverseIterator()  
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
    • Method Detail

      • reverseIterator

        java.util.Iterator<E> reverseIterator()