All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oplan.util.Mark

java.lang.Object
   |
   +----oplan.util.Mark

public class Mark
extends Object
A class used when marking objects as used, visited, etc. An algorithm can create a Mark that is new and hence not == to any Marks created earlier. The new Mark can then be used to mark objects as they are vistied (or whatever). Although Marks are meant to be distinguished by object-identity alone (ie, by ==), they contain some fields for debugging purposes: a String that names the algorithm that created the mark, and an int for tellng Marks apart "visually" (e.g. if they're printed).

See Also:
Markable

Variable Index

 o count
 o createdBy
 o number

Constructor Index

 o Mark(String)

Variables

 o count
 static int count
 o createdBy
 String createdBy
 o number
 int number

Constructors

 o Mark
 public Mark(String createdBy)

All Packages  Class Hierarchy  This Package  Previous  Next  Index