|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wis.jtlv.lib.FixPoint<T>
public class FixPoint<T>
A template for fix-point using for loop.
Constructor Summary | |
---|---|
FixPoint()
|
|
FixPoint(T initial_old_value)
|
Method Summary | |
---|---|
boolean |
advance(T curr)
Given the element to fix-point on, determine whether it has changed since the last time a check was performed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixPoint()
public FixPoint(T initial_old_value)
Method Detail |
---|
public boolean advance(T curr)
NOTE that the fix-point is on the object's equality. If the Underlying current object is changed, then it might affect this iterator. (e.g. if you are using BDD.*With API, then you are changing the object himself)
curr
- The current value of the element to perform fix-point upon.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |