public abstract class AbstractEvent extends java.lang.Object implements java.lang.Comparable<AbstractEvent>, java.io.Serializable
| Constructor and Description |
|---|
AbstractEvent(long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AbstractEvent o)
Définition de l'ordre de trie
|
long |
getTimestamp()
Récupère l'horodatage de l'évènement
|
void |
shift(long time)
shift the event of a specific time
|
public long getTimestamp()
public void shift(long time)
time - public int compareTo(AbstractEvent o)
compareTo in interface java.lang.Comparable<AbstractEvent>