public enum AttrType extends Enum<AttrType>
Enum Constant and Description |
---|
BIN |
BIN_SET |
BOOL |
LIST |
MAP |
NULL |
NUM |
NUM_SET |
STR |
STR_SET |
Modifier and Type | Method and Description |
---|---|
static AttrType |
valueOf(int ordinal) |
static AttrType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttrType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttrType LIST
public static final AttrType BIN_SET
public static final AttrType NUM_SET
public static final AttrType STR_SET
public static final AttrType NULL
public static final AttrType STR
public static final AttrType NUM
public static final AttrType BIN
public static final AttrType BOOL
public static final AttrType MAP
public static AttrType[] values()
for (AttrType c : AttrType.values()) System.out.println(c);
public static AttrType 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 AttrType valueOf(int ordinal)
Copyright © 2018. All rights reserved.