org.jlab.hipo.data
Enum HipoNodeType
- java.lang.Object
-
- java.lang.Enum<HipoNodeType>
-
- org.jlab.hipo.data.HipoNodeType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HipoNodeType>
public enum HipoNodeType extends java.lang.Enum<HipoNodeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BYTEDOUBLEFLOATGROUPINTLONGSHORTSTRINGUNDEFINEDVECTOR3F
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetName()intgetSize()intgetType()Returns the id number of the detector.static HipoNodeTypegetType(int tid)static HipoNodeTypegetType(java.lang.String name)static HipoNodeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HipoNodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final HipoNodeType UNDEFINED
-
BYTE
public static final HipoNodeType BYTE
-
SHORT
public static final HipoNodeType SHORT
-
INT
public static final HipoNodeType INT
-
FLOAT
public static final HipoNodeType FLOAT
-
DOUBLE
public static final HipoNodeType DOUBLE
-
STRING
public static final HipoNodeType STRING
-
GROUP
public static final HipoNodeType GROUP
-
LONG
public static final HipoNodeType LONG
-
VECTOR3F
public static final HipoNodeType VECTOR3F
-
-
Method Detail
-
values
public static HipoNodeType[] 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 (HipoNodeType c : HipoNodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HipoNodeType 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 namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
-
getType
public int getType()
Returns the id number of the detector.- Returns:
- the id number of the detector
-
getSize
public int getSize()
-
getType
public static HipoNodeType getType(java.lang.String name)
-
getType
public static HipoNodeType getType(int tid)
-
-
DMelt 3.0 © DataMelt by jWork.ORG