|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection
com.oracle.common.collections.WrapperCollections.AbstractWrapperSet
com.tangosol.util.ImmutableMultiList.SetView
protected class ImmutableMultiList.SetView
SetView exposes the underlying ImmutableMultiList through the Set
interface, maintaining correct equals() and hashCode() semantics
Constructor Summary | |
---|---|
protected |
ImmutableMultiList.SetView() Create a SetView over this ImmutableMultiList. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Compares the specified object with this set for equality. |
int |
hashCode() Returns the hash code value for this set. |
Methods inherited from class com.oracle.common.collections.WrapperCollections.AbstractWrapperSet |
---|
getDelegate |
Methods inherited from class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from interface java.util.Set |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
---|
protected ImmutableMultiList.SetView()
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection
equals
in interface java.util.Set
equals
in class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection
o
- Object to be compared for equality with this set.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 the Object.hashCode method.hashCode
in interface java.util.Collection
hashCode
in interface java.util.Set
hashCode
in class com.oracle.common.collections.WrapperCollections.AbstractWrapperCollection
Object.hashCode()
, Object.equals(Object)
, Set.equals(Object)
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |