Package tss.tpm
Enum TPM_SPEC._N
- java.lang.Object
-
- java.lang.Enum<TPM_SPEC._N>
-
- tss.tpm.TPM_SPEC._N
-
- All Implemented Interfaces:
Serializable
,Comparable<TPM_SPEC._N>
- Enclosing class:
- TPM_SPEC
public static enum TPM_SPEC._N extends Enum<TPM_SPEC._N>
Values from enum _N are only intended to be used in case labels of a switch statement using the result of this.asEnum() method as the switch condition. However, their Java names are identical to those of the constants defined in this class further below, so for any other usage just prepend them with the TPM_SPEC. qualifier.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY_OF_YEAR
The day of the year (December 26)FAMILY
ASCII 2.0 with null terminatorLEVEL
The level number for the specificationVERSION
The version number of the spec (001.62 * 100)YEAR
The year of the version
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TPM_SPEC._N
valueOf(String name)
Returns the enum constant of this type with the specified name.static TPM_SPEC._N[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAMILY
public static final TPM_SPEC._N FAMILY
ASCII 2.0 with null terminator
-
LEVEL
public static final TPM_SPEC._N LEVEL
The level number for the specification
-
VERSION
public static final TPM_SPEC._N VERSION
The version number of the spec (001.62 * 100)
-
YEAR
public static final TPM_SPEC._N YEAR
The year of the version
-
DAY_OF_YEAR
public static final TPM_SPEC._N DAY_OF_YEAR
The day of the year (December 26)
-
-
Method Detail
-
values
public static TPM_SPEC._N[] 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 (TPM_SPEC._N c : TPM_SPEC._N.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPM_SPEC._N 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
-
-