@ThriftEnum public enum RuntimeUnit extends Enum<RuntimeUnit>
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static RuntimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeUnit NONE
public static final RuntimeUnit NANO
public static final RuntimeUnit BYTE
public static RuntimeUnit[] values()
for (RuntimeUnit c : RuntimeUnit.values()) System.out.println(c);
public static RuntimeUnit 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 null@ThriftEnumValue public int getValue()
Copyright © 2012–2022. All rights reserved.