diff options
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); + } } |
