|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.ConverterCollections.ConverterMapListener
public static class ConverterCollections.ConverterMapListener
A converter MapListener that converts events of the underlying MapListener for the underlying map.
Field Summary | |
---|---|
protected Converter |
m_convKey
The Converter to view the underlying CacheEvent's key. |
protected Converter |
m_convVal
The Converter to view the underlying CacheEvent's value. |
protected MapListener |
m_listener
The underlying MapListener. |
protected ObservableMap |
m_map
The converting Map the will be the source of converted events. |
Constructor Summary | |
---|---|
ConverterCollections.ConverterMapListener(ObservableMap map,
MapListener listener,
Converter convKey,
Converter convVal)
Counstruct ConverterMapListener. |
Method Summary | |
---|---|
void |
entryDeleted(MapEvent evt)
Invoked when a map entry has been removed. |
void |
entryInserted(MapEvent evt)
Invoked when a map entry has been inserted. |
void |
entryUpdated(MapEvent evt)
Invoked when a map entry has been updated. |
boolean |
equals(Object o)
Compare the ConverterMapListener with another object to determine equality. |
int |
hashCode()
Determine a hash value for the WrapperSynchronousListener object according to the general Object.hashCode() contract. |
Field Detail |
---|
protected ObservableMap m_map
protected MapListener m_listener
protected Converter m_convKey
protected Converter m_convVal
Constructor Detail |
---|
public ConverterCollections.ConverterMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
map
- the Map that should be the source for converted eventslistener
- the underlying MapListenerconvKey
- the Converter to view the underlying MapEvent's keyconvVal
- the Converter to view the underlying MapEvent's valuesMethod Detail |
---|
public void entryInserted(MapEvent evt)
entryInserted
in interface MapListener
evt
- the MapEvent carrying the insert informationpublic void entryUpdated(MapEvent evt)
entryUpdated
in interface MapListener
evt
- the MapEvent carrying the update informationpublic void entryDeleted(MapEvent evt)
entryDeleted
in interface MapListener
evt
- the MapEvent carrying the delete informationpublic int hashCode()
Object.hashCode()
contract.
public boolean equals(Object o)
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |