Timestamp mechanism for AFB.
More...
|
| int | compare (Timestamp timestampToCompare, final int pos) |
| | Method to lexicographically compare the current timestamp with another, up to but excluding a given position.
|
|
| int[] | counters |
| | The assignment counter for each variable.
|
Timestamp mechanism for AFB.
- Author
- Alexandra Olteanu, Thomas Leaute
◆ Timestamp() [1/3]
| frodo2.algorithms.afb.Timestamp.Timestamp |
( |
int | n | ) |
|
Constructor.
- Parameters
-
| n | the number of assignment counters |
Referenced by clone(), and compare().
◆ Timestamp() [2/3]
| frodo2.algorithms.afb.Timestamp.Timestamp |
( |
| ) |
|
Default constructor used for externalization.
Referenced by clone().
◆ Timestamp() [3/3]
| frodo2.algorithms.afb.Timestamp.Timestamp |
( |
int[] | counters | ) |
|
Constructor.
- Parameters
-
| counters | the assignment counters |
References counters.
◆ clone()
| Timestamp frodo2.algorithms.afb.Timestamp.clone |
( |
| ) |
|
◆ compare()
| int frodo2.algorithms.afb.Timestamp.compare |
( |
Timestamp | timestampToCompare, |
|
|
final int | pos ) |
|
package |
Method to lexicographically compare the current timestamp with another, up to but excluding a given position.
- Parameters
-
| timestampToCompare | the timestamp to compare to |
| pos | the index position. Comparison would be done up to position pos-1 |
- Returns
- -1 if the current timestamp is less than the timestamp to compare to 0 if the current timestamp is equal to the timestamp to compare to +1 if the current timestamp is greater than the timestamp to compare to
References counters, and Timestamp().
◆ readExternal()
| void frodo2.algorithms.afb.Timestamp.readExternal |
( |
ObjectInput | in | ) |
throws IOException, ClassNotFoundException |
◆ setCounter()
| void frodo2.algorithms.afb.Timestamp.setCounter |
( |
int | pos, |
|
|
int | counterValue ) |
◆ toString()
| String frodo2.algorithms.afb.Timestamp.toString |
( |
| ) |
|
- See also
- java.lang.Object#toString()
◆ writeExternal()
| void frodo2.algorithms.afb.Timestamp.writeExternal |
( |
ObjectOutput | out | ) |
throws IOException |
◆ counters
| int [] frodo2.algorithms.afb.Timestamp.counters |
|
package |
The documentation for this class was generated from the following file: