|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sir.sim.SimSelke.Event
A class to handle events
Field Summary | |
char |
type
Event type |
SimSelke.Individual |
who
Location of the event, i.e. the individual |
Constructor Summary | |
SimSelke.Event(SimSelke.Individual who,
double t,
char type)
Ordinary constructur |
Method Summary | |
int |
compareTo(java.lang.Object other)
Comparing based on the event time |
java.lang.String |
toStringLong(double r0)
Just show it on the screen |
java.lang.String |
toStringShort(double r0)
Format relative to r0 - especially for logfiles and no type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SimSelke.Individual who
public char type
Constructor Detail |
public SimSelke.Event(SimSelke.Individual who, double t, char type)
Method Detail |
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public java.lang.String toStringLong(double r0)
public java.lang.String toStringShort(double r0)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |