Java Reference
Java Reference
Detailed Description
This class adds reversibility to a POD type.
It contains the stamp optimization. i.e. the SaveValue call is done only once per node of the search tree. Please note that actual stamps always starts at 1, thus an initial value of 0 will always trigger the first SaveValue.
Definition at line 14 of file RevLong.java.
Public Member Functions | |
| synchronized void | delete () |
| RevLong (long val) | |
| long | value () |
| void | setValue (Solver s, long val) |
Protected Member Functions | |
| RevLong (long cPtr, boolean cMemoryOwn) | |
Constructor & Destructor Documentation
◆ RevLong() [1/2]
|
inlineprotected |
Definition at line 18 of file RevLong.java.
◆ RevLong() [2/2]
|
inline |
Definition at line 42 of file RevLong.java.
Member Function Documentation
◆ delete()
|
inline |
Definition at line 32 of file RevLong.java.
◆ setValue()
|
inline |
Definition at line 50 of file RevLong.java.
◆ value()
|
inline |
Definition at line 46 of file RevLong.java.
The documentation for this class was generated from the following file: