|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.projects.bogor.module.value.ValueVisitor
public final class ValueVisitor
A visitor pattern for values.
| Constructor Summary | |
|---|---|
ValueVisitor(IValueVisitorAction vea,
boolean depthFirst,
boolean visitRecordLock)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
dispose()
Remove references. |
HashSet<IValue> |
getSeenSet()
Gets the seen set of this visitor. |
LinkedList<IValue> |
getWorkList()
Gets the work list of this visitor. |
void |
setValueComparator(IValueComparator vc)
|
void |
visit(IValue value)
Visits values reachable from a particular value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueVisitor(IValueVisitorAction vea,
boolean depthFirst,
boolean visitRecordLock)
vea - The value visitor action for this value visitor. Must be
non-null.depthFirst - Indicates whether a DFS (if true) or BFS (otherwise).visitRecordLock - Indicates whether record locks should be visited.| Method Detail |
|---|
public HashSet<IValue> getSeenSet()
public void setValueComparator(IValueComparator vc)
public LinkedList<IValue> getWorkList()
public void dispose()
Disposable
dispose in interface DisposableDisposable.dispose()public void visit(IValue value)
value - The root value to start visiting from. Must be non-null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||