public abstract class Event
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.ID |
Modifier and Type | Field and Description |
---|---|
private Mark |
endMark |
private Mark |
startMark |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected java.lang.String |
getArguments()
Generate human readable representation of the Event
|
Mark |
getEndMark() |
abstract Event.ID |
getEventId()
Get the type (kind) if this Event
|
Mark |
getStartMark() |
int |
hashCode() |
boolean |
is(Event.ID id)
Check if the Event is of the provided kind
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public Mark getStartMark()
public Mark getEndMark()
protected java.lang.String getArguments()
public boolean is(Event.ID id)
id
- - the Event.ID enumpublic abstract Event.ID getEventId()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object