|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsir.sim.SimSellke.Event
A class to handle events
Field Summary | |
char |
type
Event type |
SimSellke.Individual |
who
Location of the event, i.e. the individual |
Constructor Summary | |
SimSellke.Event(SimSellke.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 |
toString()
Standard toString nothing fancy here. |
java.lang.String |
toString(double origoTime)
Just show it on the screen, pos, time (corrected for origoTime) and type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public SimSellke.Individual who
public char type
Constructor Detail |
public SimSellke.Event(SimSellke.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 toString(double origoTime)
public java.lang.String toString()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |