net.sf.molae.pipe.comod
Class DummyMark

java.lang.Object
  extended by net.sf.molae.pipe.comod.DummyMark
All Implemented Interfaces:
ModificationMark

public final class DummyMark
extends Object
implements ModificationMark

Implementation of ModificationMark that never changes its state. Implements singleton design pattern.


Method Summary
 void checkForComodification()
          Does nothing.
 ModificationMark createChild()
          Creates a new child of this mark.
static DummyMark getInstance()
          Returns the singleton instance of this class.
 void markModification()
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DummyMark getInstance()
Returns the singleton instance of this class.

Returns:
the singleton instance of this class.

createChild

public ModificationMark createChild()
Description copied from interface: ModificationMark
Creates a new child of this mark.

Specified by:
createChild in interface ModificationMark
Returns:
a new child of this mark.

checkForComodification

public void checkForComodification()
Does nothing.

Specified by:
checkForComodification in interface ModificationMark

markModification

public void markModification()
Does nothing.

Specified by:
markModification in interface ModificationMark