public static enum ThriftField.Requiredness extends Enum<ThriftField.Requiredness>
| Modifier and Type | Method and Description |
|---|---|
static ThriftField.Requiredness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftField.Requiredness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftField.Requiredness REQUIRED
public static final ThriftField.Requiredness OPTIONAL
public static final ThriftField.Requiredness NONE
public static ThriftField.Requiredness[] values()
for (ThriftField.Requiredness c : ThriftField.Requiredness.values()) System.out.println(c);
public static ThriftField.Requiredness 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 nullCopyright © 2012-2017. All Rights Reserved.