|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ix.util.Mark
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).
Markable
Field Summary | |
(package private) static int |
count
|
(package private) java.lang.String |
createdBy
|
(package private) int |
number
|
Constructor Summary | |
Mark(java.lang.String createdBy)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
static int count
java.lang.String createdBy
int number
Constructor Detail |
public Mark(java.lang.String createdBy)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |