|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.cache.hashbelt.container.FastIteratingContainer
The FastIteratingContainer implementation of the Container interface assuems two things:
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
FastIteratingContainer()
|
|
| Method Summary | |
void |
clear()
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
java.lang.Object |
get(java.lang.Object key)
|
long |
getTimestamp()
Returns the timestamp of this container. |
boolean |
isEmpty()
|
java.util.Iterator |
keyIterator()
Returns an iterator over the keys contained in this container. If the container is modified while an iteration is in progress, the results of the iteration is not affected and vice-versa. |
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map map)
|
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
void |
updateTimestamp()
Set the timestamp of this container to System.currentTimeMillis(). |
java.util.Iterator |
valueIterator()
Returns an iterator over the values contained in this container. If the container is modified while an iteration is in progress, the results of the iteration is not affected and vice-versa. |
java.util.Collection |
values()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
| Constructor Detail |
public FastIteratingContainer()
| Method Detail |
public void updateTimestamp()
updateTimestamp in interface ContainerContainer.updateTimestamp()public long getTimestamp()
getTimestamp in interface ContainerContainer.getTimestamp()public java.util.Iterator keyIterator()
keyIterator in interface ContainerContainer.keyIterator()public java.util.Iterator valueIterator()
valueIterator in interface ContainerContainer.valueIterator()public int size()
size in interface java.util.MapMap.size()public boolean isEmpty()
isEmpty in interface java.util.MapMap.isEmpty()public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.MapMap.containsKey(java.lang.Object)public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.MapMap.containsValue(java.lang.Object)public java.lang.Object get(java.lang.Object key)
get in interface java.util.MapMap.get(java.lang.Object)
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.MapMap.put(java.lang.Object, java.lang.Object)public java.lang.Object remove(java.lang.Object key)
remove in interface java.util.MapMap.remove(java.lang.Object)public void putAll(java.util.Map map)
putAll in interface java.util.MapMap.putAll(java.util.Map)public void clear()
clear in interface java.util.MapMap.clear()public java.util.Set keySet()
keySet in interface java.util.MapMap.keySet()public java.util.Collection values()
values in interface java.util.MapMap.values()public java.util.Set entrySet()
entrySet in interface java.util.MapMap.entrySet()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||