|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.utils.DirtyFlagMap
An implementation of Map
that wraps another Map
and flags itself 'dirty' when it is modified.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
Map.Entry |
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. |
|
DirtyFlagMap(Map mapToWrap)
Create a DirtyFlagMap that 'wraps' the given Map . |
Method Summary | |
void |
clear()
|
void |
clearDirtyFlag()
Clear the 'dirty' flag (set dirty flag to false ). |
Object |
clone()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object val)
|
Set |
entrySet()
|
boolean |
equals(Object obj)
|
Object |
get(Object key)
|
Map |
getWrappedMap()
Get a direct handle to the underlying Map. |
boolean |
isDirty()
Determine whether the Map is flagged dirty. |
boolean |
isEmpty()
|
boolean |
isMutable()
|
Set |
keySet()
|
Object |
put(Object key,
Object val)
|
void |
putAll(Map t)
|
Object |
remove(Object key)
|
void |
setMutable(boolean mutable)
|
int |
size()
|
Collection |
values()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
hashCode |
Constructor Detail |
public DirtyFlagMap(Map mapToWrap)
Create a DirtyFlagMap that 'wraps' the given Map
.
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 setMutable(boolean mutable)
public boolean isMutable()
public void clearDirtyFlag()
Clear the 'dirty' flag (set dirty flag to false
).
public boolean isDirty()
Determine whether the Map
is flagged dirty.
public Map getWrappedMap()
Get a direct handle to the underlying Map.
public void clear()
clear
in interface Map
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object val)
containsValue
in interface Map
public Set entrySet()
entrySet
in interface Map
public boolean equals(Object obj)
equals
in interface Map
public Object get(Object key)
get
in interface Map
public boolean isEmpty()
isEmpty
in interface Map
public Set keySet()
keySet
in interface Map
public Object put(Object key, Object val)
put
in interface Map
public void putAll(Map t)
putAll
in interface Map
public Object remove(Object key)
remove
in interface Map
public int size()
size
in interface Map
public Collection values()
values
in interface Map
public Object clone()
|
Quartz Enterprise Job Scheduler Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |