public final class MapContainer extends ConcurrentHashMap<Object,Object> implements Container
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, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values
clone, equals, hashCode, toString
public void updateTimestamp()
updateTimestamp
in interface Container
public long getTimestamp()
getTimestamp
in interface Container
public Iterator<Object> keyIterator()
keyIterator
in interface Container
public Iterator<Object> valueIterator()
valueIterator
in interface Container
Copyright © 2013. All rights reserved.