java.lang.Object
com.assemblyrobot.simulator.core.events.Event
All Implemented Interfaces:
java.lang.Comparable<Event>
Direct Known Subclasses:
TransferEvent

public class Event
extends java.lang.Object
implements java.lang.Comparable<Event>
Generic simulator event class. Takes a one-time-programmable execution time and event type.
  • Constructor Summary

    Constructors
    Constructor Description
    Event()  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(@NonNull Event comparingEvent)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • compareTo

      public int compareTo​(@NonNull @NonNull Event comparingEvent)
      Specified by:
      compareTo in interface java.lang.Comparable<Event>