public enum IsbnType extends Enum<IsbnType>
Modifier and Type | Method and Description |
---|---|
boolean |
requiresPrefix() |
static IsbnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsbnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsbnType ISBN_10
public static final IsbnType ISBN_13
public static IsbnType[] values()
for (IsbnType c : IsbnType.values()) System.out.println(c);
public static IsbnType 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 boolean requiresPrefix()
Copyright © 2022. All rights reserved.