public static enum Attrs.Type extends java.lang.Enum<Attrs.Type>
Enum Constant and Description |
---|
DOUBLE |
DOUBLES |
LONG |
LONGS |
STRING |
STRINGS |
VERSION |
VERSIONS |
Modifier and Type | Field and Description |
---|---|
(package private) Attrs.Type |
sub |
(package private) java.lang.String |
toString |
Modifier and Type | Method and Description |
---|---|
Attrs.Type |
plural() |
java.lang.String |
toString() |
static Attrs.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Attrs.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attrs.Type STRING
public static final Attrs.Type LONG
public static final Attrs.Type VERSION
public static final Attrs.Type DOUBLE
public static final Attrs.Type STRINGS
public static final Attrs.Type LONGS
public static final Attrs.Type VERSIONS
public static final Attrs.Type DOUBLES
Attrs.Type sub
java.lang.String toString
public static Attrs.Type[] values()
for (Attrs.Type c : Attrs.Type.values()) System.out.println(c);
public static Attrs.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Attrs.Type>
public Attrs.Type plural()