net.sf.jbaobab.expirable
Class ExpirableSortedSet<E>
java.lang.Object
net.sf.jbaobab.expirable.AbstractExpirableCollection<E>
net.sf.jbaobab.expirable.ExpirableCollection<E>
net.sf.jbaobab.expirable.ExpirableSet<E>
net.sf.jbaobab.expirable.ExpirableSortedSet<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>, Set<E>, SortedSet<E>
public class ExpirableSortedSet<E>
- extends ExpirableSet<E>
- implements SortedSet<E>
An expirable decorator for a SortedSet.
- Author:
- Oakyoon Cha
| Methods inherited from class net.sf.jbaobab.expirable.ExpirableCollection |
add, add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ExpirableSortedSet
public ExpirableSortedSet(SortedSet<E> set,
long timeout)
ExpirableSortedSet
public ExpirableSortedSet(SortedSet<E> set)
comparator
public Comparator<? super E> comparator()
- Specified by:
comparator in interface SortedSet<E>
subSet
public SortedSet<E> subSet(E from,
E to)
- Specified by:
subSet in interface SortedSet<E>
headSet
public SortedSet<E> headSet(E to)
- Specified by:
headSet in interface SortedSet<E>
tailSet
public SortedSet<E> tailSet(E from)
- Specified by:
tailSet in interface SortedSet<E>
first
public E first()
- Specified by:
first in interface SortedSet<E>
last
public E last()
- Specified by:
last in interface SortedSet<E>