diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-28 22:05:59 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-28 22:05:59 +0000 |
| commit | 4d5a90f7191b6c175863d0375e9d1e17b2df39d4 (patch) | |
| tree | 3d4ead53f3dc6e225688f18b554f767989cdd42b /sources/core/time/VSLamportTime.java | |
| parent | caa0c0443dc39003d79e0e50656e12c39799c48a (diff) | |
Style and javadoc.
Diffstat (limited to 'sources/core/time/VSLamportTime.java')
| -rw-r--r-- | sources/core/time/VSLamportTime.java | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/sources/core/time/VSLamportTime.java b/sources/core/time/VSLamportTime.java index e78970f..25ad8af 100644 --- a/sources/core/time/VSLamportTime.java +++ b/sources/core/time/VSLamportTime.java @@ -4,14 +4,19 @@ */ package core.time; -// TODO: Auto-generated Javadoc /** - * This class defined how the lamport timestamps are represented. + * The Class VSLamportTime. This class defined how the lamport + * timestamps are represented. + * + * @author Paul C. Buetow */ public class VSLamportTime implements VSTime { + /** The serial version uid */ private static final long serialVersionUID = 1L; - /** 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 position in the simulator canvas paint area. + */ private long globalTime; /** Specified the process' local lamport time. */ @@ -28,28 +33,24 @@ public class VSLamportTime implements VSTime { this.lamportTime = lamportTime; } - /** - * Getter method. - * - * @return The global time. + /* (non-Javadoc) + * @see core.time.VSTime#getGlobalTime() */ public long getGlobalTime() { return globalTime; } /** - * Getter method. + * Gets the lamport time. * - * @return The process' local lamport time. + * @return The process' local lamport time */ public long getLamportTime() { return lamportTime; } - /** - * String representation. - * - * @return The string representation of the lamport time. + /* (non-Javadoc) + * @see core.time.VSTime#toString() */ public String toString() { return "(" + lamportTime + ")"; |
