|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cache.hashbelt.container.FastIteratingContainer
public final class FastIteratingContainer
The FastIteratingContainer implementation of the Container interface assuems two things:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
FastIteratingContainer()
|
|
| Method Summary | |
|---|---|
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()
|
| 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 Containerpublic long getTimestamp()
getTimestamp in interface Containerpublic Iterator<Object> keyIterator()
keyIterator in interface Containerpublic Iterator<Object> valueIterator()
valueIterator in interface Containerpublic int size()
size in interface Map<Object,Object>public boolean isEmpty()
isEmpty in interface Map<Object,Object>public boolean containsKey(Object key)
containsKey in interface Map<Object,Object>public boolean containsValue(Object value)
containsValue in interface Map<Object,Object>public Object get(Object key)
get in interface Map<Object,Object>
public Object put(Object key,
Object value)
put in interface Map<Object,Object>public Object remove(Object key)
remove in interface Map<Object,Object>public void putAll(Map<? extends Object,? extends Object> map)
putAll in interface Map<Object,Object>public void clear()
clear in interface Map<Object,Object>public Set<Object> keySet()
keySet in interface Map<Object,Object>public Collection<Object> values()
values in interface Map<Object,Object>public Set<Map.Entry<Object,Object>> entrySet()
entrySet in interface Map<Object,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||