org.ros.internal.message
Enum PrimitiveFieldType
java.lang.Object
java.lang.Enum<PrimitiveFieldType>
org.ros.internal.message.PrimitiveFieldType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PrimitiveFieldType>, FieldType
public enum PrimitiveFieldType
- extends java.lang.Enum<PrimitiveFieldType>
- implements FieldType
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 |
BOOL
public static final PrimitiveFieldType BOOL
INT8
public static final PrimitiveFieldType INT8
BYTE
public static final PrimitiveFieldType BYTE
- Deprecated. replaced by
INT8
UINT8
public static final PrimitiveFieldType UINT8
CHAR
public static final PrimitiveFieldType CHAR
- Deprecated. replaced by
UINT8
INT16
public static final PrimitiveFieldType INT16
UINT16
public static final PrimitiveFieldType UINT16
INT32
public static final PrimitiveFieldType INT32
UINT32
public static final PrimitiveFieldType UINT32
INT64
public static final PrimitiveFieldType INT64
UINT64
public static final PrimitiveFieldType UINT64
FLOAT32
public static final PrimitiveFieldType FLOAT32
FLOAT64
public static final PrimitiveFieldType FLOAT64
STRING
public static final PrimitiveFieldType STRING
TIME
public static final PrimitiveFieldType TIME
DURATION
public static final PrimitiveFieldType DURATION
values
public static PrimitiveFieldType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PrimitiveFieldType c : PrimitiveFieldType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PrimitiveFieldType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
existsFor
public static boolean existsFor(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface FieldType
getMd5String
public java.lang.String getMd5String()
- Specified by:
getMd5String
in interface FieldType