|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<java.lang.Long>
core.time.VSVectorTime
public class VSVectorTime
The class VSVectorTime, defined how the vector timestamps are represented.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
VSVectorTime(long globalTime)
Instantiates a new vector time. |
|
| Method Summary | |
|---|---|
java.lang.Long |
get(int index)
|
VSVectorTime |
getCopy()
Gets the copy. |
long |
getGlobalTime()
Gets the global time. |
void |
setGlobalTime(long globalTime)
Sets the global time. |
long[] |
toLongArray()
To long array. |
java.lang.String |
toString()
Returns a string representation. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public VSVectorTime(long globalTime)
globalTime - the global time| Method Detail |
|---|
public long[] toLongArray()
public void setGlobalTime(long globalTime)
globalTime - the new global timepublic long getGlobalTime()
VSTime
getGlobalTime in interface VSTimepublic VSVectorTime getCopy()
public java.lang.String toString()
VSTime
toString in interface VSTimetoString in class java.util.AbstractCollection<java.lang.Long>public java.lang.Long get(int index)
get in interface java.util.List<java.lang.Long>get in class java.util.ArrayList<java.lang.Long>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||