|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|---|
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). |
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. |
int |
hashCode()
|
boolean |
isDirty()
Determine whether the Map is flagged dirty. |
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object val)
|
void |
putAll(Map t)
|
Object |
remove(Object key)
|
int |
size()
|
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.
HashMappublic 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 Map getWrappedMap()
Get a direct handle to the underlying Map.
public void clear()
clear in interface Mappublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object val)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic boolean equals(Object obj)
equals in interface Mapequals in class Objectpublic int hashCode()
hashCode in interface MaphashCode in class Objectpublic Object get(Object key)
get in interface Mappublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Map
public Object put(Object key,
Object val)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Mappublic Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||