net.sf.jbaobab.expirable
Class ExpirableSet<E>

java.lang.Object
  extended by net.sf.jbaobab.expirable.AbstractExpirableCollection<E>
      extended by net.sf.jbaobab.expirable.ExpirableCollection<E>
          extended by net.sf.jbaobab.expirable.ExpirableSet<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
Direct Known Subclasses:
ExpirableSortedSet

public class ExpirableSet<E>
extends ExpirableCollection<E>
implements Set<E>

An expirable decorator for a Set.

Author:
Oakyoon Cha

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jbaobab.expirable.ExpirableCollection
ExpirableCollection.InternalRemoverImpl<E>
 
Field Summary
 
Fields inherited from class net.sf.jbaobab.expirable.AbstractExpirableCollection
expirer, remover, timeout
 
Constructor Summary
ExpirableSet(Set<E> set)
           
ExpirableSet(Set<E> set, long timeout)
           
 
Method Summary
 
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 class net.sf.jbaobab.expirable.AbstractExpirableCollection
finalize, getHandler, setHandler, timeout, timeout
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

ExpirableSet

public ExpirableSet(Set<E> set,
                    long timeout)

ExpirableSet

public ExpirableSet(Set<E> set)