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.
|
void updateTimestamp()
long getTimestamp()
Iterator<Object> keyIterator()
Iterator<Object> valueIterator()
Copyright © 2013. All rights reserved.