|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.ConverterCollections.ConverterCollection
com.tangosol.util.ConverterCollections.ConverterSet
public static class ConverterCollections.ConverterSet
A Converter Set views an underlying Set through a Converter.
Field Summary |
---|
Fields inherited from class com.tangosol.util.ConverterCollections.ConverterCollection |
---|
m_col, m_convDown, m_convUp |
Constructor Summary | |
---|---|
ConverterCollections.ConverterSet(java.util.Set set, Converter convUp, Converter convDown) Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Compares the specified object with this collection for equality. |
int |
hashCode() Returns the hash code value for this set. |
Methods inherited from class com.tangosol.util.ConverterCollections.ConverterCollection |
---|
add, addAll, clear, contains, containsAll, getCollection, getConverterDown, getConverterUp, instantiateCollection, instantiateIterator, invalidate, 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 |
---|
public ConverterCollections.ConverterSet(java.util.Set set, Converter convUp, Converter convDown)
set
- the underlying SetconvUp
- the Converter from the underlying SetconvDown
- the Converter to the underlying SetMethod Detail |
---|
public boolean equals(java.lang.Object o)
Obeys the general contract of Collection.equals.
equals
in interface java.util.Collection
equals
in interface java.util.Set
equals
in class ConverterCollections.ConverterCollection
o
- Object to be compared for equality with this CollectionObject.equals(Object)
, Set.equals(Object)
, List.equals(Object)
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
Object.hashCode()
, Object.equals(Object)
, Set.equals(Object)
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |