|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.newisys.eventsim.Event
public abstract class Event
An abstract Event.
| Constructor Summary | |
|---|---|
Event()
Create a new Event. |
|
Event(String name)
Create a new Event with the specified name. |
|
| Method Summary | |
|---|---|
abstract boolean |
hasOccurred()
Returns whether or not this Event has occurred. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Event()
public Event(String name)
name - the name of this Event| Method Detail |
|---|
public abstract boolean hasOccurred()
true if this Event has occurred, false
otherwisepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||