Package dap4.core.dmr
Enum TypeSort
- java.lang.Object
-
- java.lang.Enum<TypeSort>
-
- dap4.core.dmr.TypeSort
-
- All Implemented Interfaces:
Serializable,Comparable<TypeSort>
public enum TypeSort extends Enum<TypeSort>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassgetJavaClass()static TypeSortgetSignedVersion(TypeSort uat)static intgetSize(TypeSort uat)StringgetTypeName()static TypeSortgetTypeSort(String typename)booleanisAtomic()booleanisCharType()booleanisCompound()booleanisCompoundType()booleanisEnumType()booleanisFixedSize()booleanisFloatType()booleanisIntegerType()booleanisLegalAttrType()booleanisNumericType()booleanisOpaqueType()booleanisSeqType()booleanisStringType()booleanisStructType()booleanisUnsigned()static TypeSortvalueOf(String name)Returns the enum constant of this type with the specified name.static TypeSort[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Char
public static final TypeSort Char
-
Int8
public static final TypeSort Int8
-
UInt8
public static final TypeSort UInt8
-
Int16
public static final TypeSort Int16
-
UInt16
public static final TypeSort UInt16
-
Int32
public static final TypeSort Int32
-
UInt32
public static final TypeSort UInt32
-
Int64
public static final TypeSort Int64
-
UInt64
public static final TypeSort UInt64
-
Float32
public static final TypeSort Float32
-
Float64
public static final TypeSort Float64
-
String
public static final TypeSort String
-
URL
public static final TypeSort URL
-
Opaque
public static final TypeSort Opaque
-
Enum
public static final TypeSort Enum
-
Structure
public static final TypeSort Structure
-
Sequence
public static final TypeSort Sequence
-
-
Method Detail
-
values
public static TypeSort[] 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 (TypeSort c : TypeSort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeSort valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getTypeName
public final String getTypeName()
-
getJavaClass
public final Class getJavaClass()
-
getSize
public static final int getSize(TypeSort uat)
-
isIntegerType
public boolean isIntegerType()
-
isFloatType
public boolean isFloatType()
-
isStringType
public boolean isStringType()
-
isCharType
public boolean isCharType()
-
isEnumType
public boolean isEnumType()
-
isOpaqueType
public boolean isOpaqueType()
-
isStructType
public boolean isStructType()
-
isSeqType
public boolean isSeqType()
-
isCompoundType
public boolean isCompoundType()
-
isNumericType
public boolean isNumericType()
-
isUnsigned
public boolean isUnsigned()
-
isFixedSize
public boolean isFixedSize()
-
isLegalAttrType
public boolean isLegalAttrType()
-
isCompound
public boolean isCompound()
-
isAtomic
public boolean isAtomic()
-
-