public static enum CDGraphic.Version extends Enum<CDGraphic.Version> implements INumberEnum<Byte>
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static CDGraphic.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDGraphic.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDGraphic.Version VERSION1
public static final CDGraphic.Version VERSION2
public static final CDGraphic.Version VERSION3
public static CDGraphic.Version[] values()
for (CDGraphic.Version c : CDGraphic.Version.values()) System.out.println(c);
public static CDGraphic.Version 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 long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
public Byte getValue()
getValue
in interface INumberEnum<Byte>
Copyright © 2019–2021 HCL. All rights reserved.