public final class FastIteratingContainer extends Object implements Container
Constructor and Description |
---|
FastIteratingContainer() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
long |
getTimestamp()
Returns the timestamp of this container.
|
boolean |
isEmpty() |
Iterator<Object> |
keyIterator()
Returns an iterator over the keys contained in this container.
|
Set<Object> |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> map) |
Object |
remove(Object key) |
int |
size() |
void |
updateTimestamp()
Set the timestamp of this container to System.currentTimeMillis().
|
Iterator<Object> |
valueIterator()
Returns an iterator over the values contained in this container.
|
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
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
public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<Object,Object>
Copyright © 2014. All rights reserved.