rinde.sim.event.Event Maven / Gradle / Ivy
/**
*
*/
package rinde.sim.event;
import java.io.Serializable;
import javax.annotation.Nullable;
import com.google.common.base.Optional;
/**
* The base event class. It is immutable.
* @author Rinde van Lon
* @author Bartosz Michalik
*/
public class Event implements Serializable {
private static final long serialVersionUID = -390528892294335442L;
/**
* The type of event.
*/
protected final Enum> eventType;
private final Optional