public enum AtomicType extends Enum<AtomicType>
Enum Constant and Description |
---|
Char |
Enum |
Float32 |
Float64 |
Int16 |
Int32 |
Int64 |
Int8 |
Opaque |
Sequence |
String |
Structure |
UInt16 |
UInt32 |
UInt64 |
UInt8 |
URL |
Modifier and Type | Method and Description |
---|---|
static AtomicType |
classToType(Object o) |
static AtomicType |
getAtomicType(String typename) |
int |
getClassification() |
static AtomicType |
getSignedVersion(AtomicType uat) |
static int |
getSize(AtomicType uat) |
String |
getTypeName() |
boolean |
isCharType() |
boolean |
isCompound() |
boolean |
isEnumType() |
boolean |
isFixedSize() |
boolean |
isFloatType() |
boolean |
isIntegerType() |
boolean |
isLegalAttrType() |
boolean |
isNumericType() |
boolean |
isOpaqueType() |
boolean |
isStringType() |
boolean |
isStructType() |
boolean |
isUnsigned() |
static AtomicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtomicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtomicType Char
public static final AtomicType Int8
public static final AtomicType UInt8
public static final AtomicType Int16
public static final AtomicType UInt16
public static final AtomicType Int32
public static final AtomicType UInt32
public static final AtomicType Int64
public static final AtomicType UInt64
public static final AtomicType Float32
public static final AtomicType Float64
public static final AtomicType String
public static final AtomicType URL
public static final AtomicType Opaque
public static final AtomicType Enum
public static final AtomicType Structure
public static final AtomicType Sequence
public static AtomicType[] values()
for (AtomicType c : AtomicType.values()) System.out.println(c);
public static AtomicType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final String getTypeName()
public final int getClassification()
public static final AtomicType getSignedVersion(AtomicType uat)
public static final int getSize(AtomicType uat)
public static AtomicType getAtomicType(String typename)
public boolean isIntegerType()
public boolean isFloatType()
public boolean isStringType()
public boolean isCharType()
public boolean isEnumType()
public boolean isOpaqueType()
public boolean isStructType()
public boolean isNumericType()
public boolean isUnsigned()
public boolean isFixedSize()
public boolean isLegalAttrType()
public boolean isCompound()
public static AtomicType classToType(Object o)
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.