summaryrefslogtreecommitdiff
path: root/sources/core/time/VSLamportTime.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 08:10:13 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 08:10:13 +0000
commitc015d586d22b69078b6da61858e5675793856b0b (patch)
treeefbc9881cf59363abef52a0beb5eedf9e81a224a /sources/core/time/VSLamportTime.java
parent62fe28f0b0b0c9ebde18a6dc33907889ff3aa21b (diff)
JAutoDoc :)
Diffstat (limited to 'sources/core/time/VSLamportTime.java')
-rw-r--r--sources/core/time/VSLamportTime.java28
1 files changed, 19 insertions, 9 deletions
diff --git a/sources/core/time/VSLamportTime.java b/sources/core/time/VSLamportTime.java
index 592507a..4ee5ebd 100644
--- a/sources/core/time/VSLamportTime.java
+++ b/sources/core/time/VSLamportTime.java
@@ -1,16 +1,23 @@
+/*
+ * VS is (c) 2008 by Paul C. Buetow
+ * vs@dev.buetow.org
+ */
package core.time;
-/** This class defined how the lamport timestamps are represented.
+// TODO: Auto-generated Javadoc
+/**
+ * This class defined how the lamport timestamps are represented.
*/
public class VSLamportTime implements VSTime {
- /** Specified the global time of the lamport timestamp. It's used for correct painting in the simulator paint area.
- */
+
+ /** Specified the global time of the lamport timestamp. It's used for correct painting in the simulator paint area. */
private long globalTime;
- /** Specified the process' local lamport time.
- */
+
+ /** Specified the process' local lamport time. */
private long lamportTime;
- /** A simple constructor.
+ /**
+ * A simple constructor.
*
* @param globalTime The global time.
* @param lamportTime The local lamport time.
@@ -20,7 +27,8 @@ public class VSLamportTime implements VSTime {
this.lamportTime = lamportTime;
}
- /** Getter method.
+ /**
+ * Getter method.
*
* @return The global time.
*/
@@ -28,7 +36,8 @@ public class VSLamportTime implements VSTime {
return globalTime;
}
- /** Getter method.
+ /**
+ * Getter method.
*
* @return The process' local lamport time.
*/
@@ -36,7 +45,8 @@ public class VSLamportTime implements VSTime {
return lamportTime;
}
- /** String representation.
+ /**
+ * String representation.
*
* @return The string representation of the lamport time.
*/