net.sf.beanlib.utils
Class CollectionUtils.SynchronizedSet<E>

java.lang.Object
  extended by net.sf.beanlib.utils.CollectionUtils.SynchronizedCollection<E>
      extended by net.sf.beanlib.utils.CollectionUtils.SynchronizedSet<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>
Enclosing class:
CollectionUtils

static class CollectionUtils.SynchronizedSet<E>
extends CollectionUtils.SynchronizedCollection<E>
implements Set<E>

Basically cloned from and identification to java.util.Collections.SynchronizedSet.

Author:
Joe D. Velopar

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class net.sf.beanlib.utils.CollectionUtils.SynchronizedCollection
c, mutex
 
Constructor Summary
CollectionUtils.SynchronizedSet(Set<E> s)
           
CollectionUtils.SynchronizedSet(Set<E> s, Object mutex)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class net.sf.beanlib.utils.CollectionUtils.SynchronizedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

CollectionUtils.SynchronizedSet

CollectionUtils.SynchronizedSet(Set<E> s)

CollectionUtils.SynchronizedSet

CollectionUtils.SynchronizedSet(Set<E> s,
                                Object mutex)
Method Detail

equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<E>
Specified by:
equals in interface Set<E>
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<E>
Specified by:
hashCode in interface Set<E>
Overrides:
hashCode in class Object