public static class ConverterCollections.ConverterMapListener extends MapListenerSupport.WrapperListener implements MapListener
Base.LoggingWriter, Base.StackFrame
Modifier and Type | Field and Description |
---|---|
protected Converter |
m_convKey
The Converter to view an underlying CacheEvent's key.
|
protected Converter |
m_convVal
The Converter to view an underlying CacheEvent's value.
|
protected ObservableMap |
m_map
The converting Map the will be the source of converted events.
|
Constructor and Description |
---|
ConverterMapListener(ObservableMap map,
MapListener listener,
Converter convKey,
Converter convVal)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compare the ConverterMapListener with another object to
determine equality.
|
Converter |
getConverterKeyUp()
Return the Converter used to view an underlying CacheEvent's key
through.
|
Converter |
getConverterValueUp()
Return the Converter used to view an underlying CacheEvent's value
through.
|
ObservableMap |
getObservableMap()
Return the underlying ObservableMap.
|
protected void |
onMapEvent(MapEvent evt)
Invoked when a map entry has been inserted, updated or deleted.
|
getMapListener, hashCode, toString
entryDeleted, entryInserted, entryUpdated
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
entryDeleted, entryInserted, entryUpdated, synchronous
protected ObservableMap m_map
protected Converter m_convKey
protected Converter m_convVal
public 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 valuesprotected void onMapEvent(MapEvent evt)
MapListenerSupport.WrapperListener
MapEvent.getId()
.onMapEvent
in class MapListenerSupport.WrapperListener
evt
- the MapEvent carrying the insert, update or delete
informationpublic boolean equals(Object o)
equals
in class MapListenerSupport.WrapperListener
public ObservableMap getObservableMap()
public Converter getConverterKeyUp()
public Converter getConverterValueUp()