public static enum Attrs.Type extends Enum<Attrs.Type>
Enum Constant and Description |
---|
DOUBLE |
DOUBLES |
LONG |
LONGS |
STRING |
STRINGS |
VERSION |
VERSIONS |
Modifier and Type | Method and Description |
---|---|
Attrs.Type |
plural() |
String |
toString() |
static Attrs.Type |
valueOf(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
public static Attrs.Type[] values()
for (Attrs.Type c : Attrs.Type.values()) System.out.println(c);
public static Attrs.Type 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 String toString()
toString
in class Enum<Attrs.Type>
public Attrs.Type plural()
Copyright © 2015 aQute SARL. All rights reserved.