public enum ThriftAnnotation extends Enum<ThriftAnnotation>
| Enum Constant and Description |
|---|
COLLECTION |
COMPACT |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static ThriftAnnotation |
forIdentifier(String id) |
static ThriftAnnotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftAnnotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftAnnotation NONE
public static final ThriftAnnotation COLLECTION
public static final ThriftAnnotation COMPACT
public final String id
public static ThriftAnnotation[] values()
for (ThriftAnnotation c : ThriftAnnotation.values()) System.out.println(c);
public static ThriftAnnotation 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 static ThriftAnnotation forIdentifier(String id)
Copyright © 2015–2016 morimekta.net. All rights reserved.