|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperCollection
com.tangosol.util.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.tangosol.util.WrapperCollections.AbstractWrapperSet |
|---|
getDelegate |
| Methods inherited from class com.tangosol.util.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.Collectionequals in interface java.util.Setequals in class WrapperCollections.AbstractWrapperCollectiono - 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.CollectionhashCode in interface java.util.SethashCode in class WrapperCollections.AbstractWrapperCollectionObject.hashCode(), Object.equals(Object), Set.equals(Object)
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||