Overview | Package | Class | Tree | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Collections.SynchronizedCollection | +--java.util.Collections.SynchronizedSet
Constructor Summary | |
Collections.SynchronizedSet(Set s)
|
|
Collections.SynchronizedSet(Set s,
java.lang.Object mutex)
|
Method Summary | |
boolean | equals(java.lang.Object o)
|
int | hashCode()
|
Methods inherited from class java.util.Collections.SynchronizedCollection | |
addAll, add, clear, containsAll, contains, isEmpty, iterator, removeAll, remove, retainAll, size, toArray, toArray |
Methods inherited from class java.lang.Object | |
Constructor Detail |
Collections.SynchronizedSet(Set s)
Collections.SynchronizedSet(Set s, java.lang.Object mutex)
Method Detail |
public boolean equals(java.lang.Object o)
public int hashCode()
s1.equals(s2)
implies that
s1.hashCode()==s2.hashCode()
for any two Sets
s1
and s2
, as required by the general
contract of Object.hashCode.Overview | Package | Class | Tree | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |