public static enum Scanner.Notification extends Enum<Scanner.Notification>
Modifier and Type | Method and Description |
---|---|
static Scanner.Notification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scanner.Notification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scanner.Notification ADDED
public static final Scanner.Notification CHANGED
public static final Scanner.Notification REMOVED
public static Scanner.Notification[] values()
for (Scanner.Notification c : Scanner.Notification.values()) System.out.println(c);
public static Scanner.Notification 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 nullCopyright © 1995-2015 Webtide. All Rights Reserved.