public final class MapContainer extends ConcurrentHashMap<Object,Object> implements Container
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MapContainer() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp()
Returns the timestamp of this container.
|
Iterator<Object> |
keyIterator()
Returns an iterator over the keys contained in this container.
|
void |
updateTimestamp()
Set the timestamp of this container to System.currentTimeMillis().
|
Iterator<Object> |
valueIterator()
Returns an iterator over the values contained in this container.
|
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesclonefinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic void updateTimestamp()
updateTimestamp in interface Containerpublic long getTimestamp()
getTimestamp in interface Containerpublic Iterator<Object> keyIterator()
keyIterator in interface Containerpublic Iterator<Object> valueIterator()
valueIterator in interface ContainerCopyright © 2014. All rights reserved.