public interface Container extends Map<Object,Object>
Implementations of this interface need to be appropriately synchronized -- the implementations of the hashbelt rely on this object to be threadsafe.
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, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
void updateTimestamp()
long getTimestamp()
Iterator<Object> keyIterator()
Iterator<Object> valueIterator()
Copyright © 2014. All rights reserved.