Enum Class EventType
- All Implemented Interfaces:
IEventType, Serializable, Comparable<EventType>, Constable
EventType määrittelee simulaation mahdolliset tapahtumatyypit.
Tämä enum toteuttaa IEventType-rajapinnan, koska
simulaation framework (Event ja EventList) ei saa
riippua suoraan tästä konkreettisesta enumista.
Framework käsittelee tapahtumia yleisesti IEventType-tyyppinä.
Malli (eli tämä enum) määrittelee varsinaiset tapahtumat.
Näin erotetaan simulaation moottori ja
pörssin varsinainen malli toisistaan.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
ARRIVAL
-
VALIDATION_COMPLETE
-
MARKET_MATCHING_COMPLETE
-
LIMIT_MATCHING_COMPLETE
-
EXECUTION_COMPLETE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-