|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataType>
jp.ac.nagoyau.is.ss.kishii.suntori.message.data.DataType
public enum DataType
This class show that what kind of value the data is.
Enum Constant Summary | |
---|---|
AMBULANCE_CENTER
ac id. |
|
AMBULANCE_TEAM
at id. |
|
AREA
area id. |
|
AREA_LIST
list of area id. |
|
BLOCKADE
blockade id. |
|
BROKENNESS
building brokenness. |
|
BUILDING
building id. |
|
BURIEDNESS
Agent buriedness. |
|
CENTER_AGENT
id of center(fs, ac, po) |
|
DAMAGE
Damage of Agent. |
|
FIERYNESS
Agent fieryness. |
|
FIRE_BRIGADE
fb id. |
|
FIRE_STATION
fs id. |
|
HP
HP of Agent. |
|
HUMAN
id of human agent(pf, fb, at, civ) |
|
ID_LIST
Deprecated. |
|
PLATOON_AGENT
id of platoon agent(pf, fb, at) |
|
POLICE_FORCE
pf id. |
|
POLICE_OFFICE
po id. |
|
REFUGE
refuge id. |
|
REPAIR_COST
blockade repair cost. |
|
RESCUE_AGENT
id of rescuer(fb, at, pf, fs, ac, po) |
|
ROAD
road id. |
|
TIME
time that simulation is started. |
|
WATER
water quantity that fb has. |
|
WATER_POWER
discharge water power. |
|
X_COORDINATE
x coordinate of the entities. |
|
Y_COORDINATE
y coordinate of the entities. |
Method Summary | |
---|---|
static RCRSCSData<?> |
createData(DataType type,
int value)
Return RCRSCSData created from type and value. |
static EntityIDListData |
createIDListData(DataType type)
Return EntityIDListData created from type.Here, only ID_LIST and AREA_LIST is accepted. |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DataType TIME
public static final DataType X_COORDINATE
public static final DataType Y_COORDINATE
public static final DataType AREA
public static final DataType ROAD
public static final DataType BUILDING
public static final DataType REFUGE
public static final DataType BLOCKADE
public static final DataType HUMAN
public static final DataType FIRE_BRIGADE
public static final DataType AMBULANCE_TEAM
public static final DataType POLICE_FORCE
public static final DataType PLATOON_AGENT
public static final DataType FIRE_STATION
public static final DataType AMBULANCE_CENTER
public static final DataType POLICE_OFFICE
public static final DataType CENTER_AGENT
public static final DataType RESCUE_AGENT
public static final DataType HP
public static final DataType DAMAGE
public static final DataType BURIEDNESS
public static final DataType FIERYNESS
public static final DataType WATER_POWER
public static final DataType REPAIR_COST
public static final DataType BROKENNESS
public static final DataType WATER
@Deprecated public static final DataType ID_LIST
public static final DataType AREA_LIST
Method Detail |
---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static RCRSCSData<?> createData(DataType type, int value)
RCRSCSData
created from type and value.
type
- DataTypevalue
- actual value(int)
public static EntityIDListData createIDListData(DataType type)
EntityIDListData
created from type.
type
- DataType
EntityIDListData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |