|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| Visitable.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
package baseCode.common;
|
|
| 2 |
|
|
| 3 |
/**
|
|
| 4 |
*
|
|
| 5 |
*
|
|
| 6 |
* <hr>
|
|
| 7 |
* <p>Copyright (c) 2004 Columbia University
|
|
| 8 |
* @author pavlidis
|
|
| 9 |
* @version $Id: Visitable.java,v 1.1 2004/07/29 08:38:49 pavlidis Exp $
|
|
| 10 |
*/
|
|
| 11 |
public abstract class Visitable implements Comparable { |
|
| 12 |
|
|
| 13 |
private boolean mark; |
|
| 14 |
|
|
| 15 | 0 |
public boolean isVisited() { |
| 16 | 0 |
return mark;
|
| 17 |
} |
|
| 18 |
|
|
| 19 | 0 |
public void mark() { |
| 20 | 0 |
mark = true;
|
| 21 |
} |
|
| 22 |
|
|
| 23 | 0 |
public void unMark() { |
| 24 | 0 |
mark = false;
|
| 25 |
} |
|
| 26 |
|
|
| 27 |
} |
|
| 28 |
|
|
||||||||||