public enum ISBNFormat extends java.lang.Enum<ISBNFormat>
Enum Constant and Description |
---|
ISBN_10 |
ISBN_13 |
NotSupport |
Modifier and Type | Method and Description |
---|---|
static ISBNFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ISBNFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISBNFormat ISBN_10
public static final ISBNFormat ISBN_13
public static final ISBNFormat NotSupport
public static ISBNFormat[] values()
for (ISBNFormat c : ISBNFormat.values()) System.out.println(c);
public static ISBNFormat 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 null