net.sourceforge.basher.events
Class BasherEvent
java.lang.Object
java.util.EventObject
net.sourceforge.basher.events.BasherEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AverageCollectedEvent, BasherShutdownEvent, CollectionEvent, InitializationEvent, NoTasksAvailableEvent, PhaseTransitionEvent, TasksAvailableEvent, ThreadAddedEvent, ThreadRemovedEvent, TickEvent
public abstract class BasherEvent
- extends EventObject
- Version:
- $Revision$
- Author:
- Johan Lindquist
- See Also:
- Serialized Form
BasherEvent
public BasherEvent()
BasherEvent
public BasherEvent(Object source)
- Constructs a prototypical Event.
- Parameters:
source
- The object on which the Event initially occurred.
- Throws:
IllegalArgumentException
- if source is null.
getCreationTime
public long getCreationTime()
- Retrieves the creation time of this event instance.
- Returns:
- The creation time
toString
public String toString()
- Overrides:
toString
in class EventObject
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2006-2010 Basher Team. All Rights Reserved.