|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.molae.pipe.comod.ModificationCounter
public final class ModificationCounter
Counter implementation of ModificationMark.
Method Summary | |
---|---|
void |
checkForComodification()
Checks if the mother object has changed since the last synchronization . |
ModificationMark |
createChild()
Creates a new child of this mark. |
static ModificationCounter |
getInstance()
Creates a new instance of this class. |
void |
markModification()
Tells the modification mark that the base object has changed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ModificationCounter getInstance()
public ModificationMark createChild()
ModificationMark
createChild
in interface ModificationMark
public void checkForComodification()
ModificationMark
synchronization
.
If this is not a child object nothing happens.
checkForComodification
in interface ModificationMark
public void markModification()
ModificationMark
markModification
in interface ModificationMark
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |