|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.utils.DirtyFlagMap
public class DirtyFlagMap
An implementation of Map
that wraps another Map
and flags itself 'dirty' when it is modified.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
DirtyFlagMap()
Create a DirtyFlagMap that 'wraps' a HashMap . |
|
DirtyFlagMap(int initialCapacity)
Create a DirtyFlagMap that 'wraps' a HashMap that has the
given initial capacity. |
|
DirtyFlagMap(int initialCapacity,
float loadFactor)
Create a DirtyFlagMap that 'wraps' a HashMap that has the
given initial capacity and load factor. |
Method Summary | |
---|---|
void |
clear()
|
void |
clearDirtyFlag()
Clear the 'dirty' flag (set dirty flag to false ). |
java.lang.Object |
clone()
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object val)
|
java.util.Set |
entrySet()
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
get(java.lang.Object key)
|
java.util.Map |
getWrappedMap()
Get a direct handle to the underlying Map. |
int |
hashCode()
|
boolean |
isDirty()
Determine whether the Map is flagged dirty. |
boolean |
isEmpty()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object val)
|
void |
putAll(java.util.Map t)
|
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirtyFlagMap()
Create a DirtyFlagMap that 'wraps' a HashMap
.
HashMap
public DirtyFlagMap(int initialCapacity)
Create a DirtyFlagMap that 'wraps' a HashMap
that has the
given initial capacity.
HashMap
public DirtyFlagMap(int initialCapacity, float loadFactor)
Create a DirtyFlagMap that 'wraps' a HashMap
that has the
given initial capacity and load factor.
HashMap
Method Detail |
---|
public void clearDirtyFlag()
Clear the 'dirty' flag (set dirty flag to false
).
public boolean isDirty()
Determine whether the Map
is flagged dirty.
public java.util.Map getWrappedMap()
Get a direct handle to the underlying Map.
public void clear()
clear
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object val)
containsValue
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Map
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map
hashCode
in class java.lang.Object
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object val)
put
in interface java.util.Map
public void putAll(java.util.Map t)
putAll
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public int size()
size
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |