diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 21:06:15 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 21:06:15 +0000 |
| commit | 222d028fac58233a451e2de875353252a3dc9f63 (patch) | |
| tree | 292394f179db68464d9554b71a7ec05368867e33 /sources/core/time/VSVectorTime.java | |
| parent | 61e38d3236ead0b32f8fa1a78901e9d0c75c91ea (diff) | |
PRocesses now get removed properly.
Removed all VSSimulation* classes.
Diffstat (limited to 'sources/core/time/VSVectorTime.java')
| -rw-r--r-- | sources/core/time/VSVectorTime.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/core/time/VSVectorTime.java b/sources/core/time/VSVectorTime.java index 55a9b49..7d0f371 100644 --- a/sources/core/time/VSVectorTime.java +++ b/sources/core/time/VSVectorTime.java @@ -49,4 +49,11 @@ public class VSVectorTime extends ArrayList<Long> implements VSTime { return buffer.toString(); } + + public Long get(int index) { + if (index >= super.size()) + return new Long(0); + + return super.get(index); + } } |
