hla.rti
Class OrderType
java.lang.Object
|
+--hla.rti.OrderType
- public final class OrderType
- extends java.lang.Object
- implements java.io.Serializable
An enumerated type (not a Java Enumeration!)
- See Also:
- Serialized Form
|
Constructor Summary |
OrderType(OrderType otherOrderTypeValue)
This is the only public constructor. |
|
Method Summary |
boolean |
equals(java.lang.Object otherOrderTypeValue)
Allows comparison with other instance of same type. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
RECEIVE
public static final OrderType RECEIVE
TIMESTAMP
public static final OrderType TIMESTAMP
OrderType
public OrderType(OrderType otherOrderTypeValue)
- This is the only public constructor. Each user-defined instance of a OrderType
must be initialized with one of the defined static values.
- Parameters:
otherOrderTypeValue - must be a defined static value or another instance.
equals
public boolean equals(java.lang.Object otherOrderTypeValue)
- Allows comparison with other instance of same type.
- Overrides:
- equals in class java.lang.Object
- Returns:
- true if supplied object is of type OrderType and has same value;
false otherwise
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
- Returns:
- String with value "OrderType(n)" where n is value
Visit the pRTI Website
pRTI is a trademark of Pitch Technologies AB
Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.