org.infinispan.util
Interface ReversibleOrderedSet<E>

All Superinterfaces:
Collection<E>, Iterable<E>, Set<E>
All Known Implementing Classes:
VisitableBidirectionalLinkedHashSet

public interface ReversibleOrderedSet<E>
extends 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.

Since:
4.0
Author:
Manik Surtani

Method Summary
 Iterator<E> reverseIterator()
           
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

reverseIterator

Iterator<E> reverseIterator()


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.