ch.unizh.ini.friend.record
Class SpikeEvent
java.lang.Object
java.util.EventObject
ch.unizh.ini.friend.record.SpikeEvent
- All Implemented Interfaces:
- Serializable
public class SpikeEvent
- extends EventObject
Represents a spike.
- Version:
- $Revision: 1.1 $
- Author:
- $Author: tobi $
- See Also:
- Serialized Form
SpikeEvent
public SpikeEvent(Object source)
- Creates a new instance of SpikeEvent. The
time
of the spike is set to System.currentTimeMillis().
- Parameters:
source
- the object that generated the spike
SpikeEvent
public SpikeEvent(Object source,
long time)
- Creates a new instance of SpikeEvent
- Parameters:
source
- the object that generated the spiketime
- the time of the spike
getTime
public long getTime()
setTime
public void setTime(long t)
toString
public String toString()
- Overrides:
toString
in class EventObject
- Returns:
- time of spike as string