|
|||||||||
| 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 ModificationMarkpublic void checkForComodification()
ModificationMarksynchronization.
If this is not a child object nothing happens.
checkForComodification in interface ModificationMarkpublic void markModification()
ModificationMark
markModification in interface ModificationMarkpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||