public enum UserRequestedBoolean extends Enum<UserRequestedBoolean>
Enum Constant and Description |
---|
FALSE_NOT_REQUESTED_BY_USER |
FALSE_REQUESTED_BY_USER |
TRUE_NOT_REQUESTED_BY_USER |
TRUE_REQUESTED_BY_USER |
Modifier and Type | Method and Description |
---|---|
boolean |
getValue() |
boolean |
isFalse() |
boolean |
isRequestedByUser() |
boolean |
isTrue() |
static UserRequestedBoolean |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRequestedBoolean[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserRequestedBoolean TRUE_NOT_REQUESTED_BY_USER
public static final UserRequestedBoolean FALSE_NOT_REQUESTED_BY_USER
public static final UserRequestedBoolean TRUE_REQUESTED_BY_USER
public static final UserRequestedBoolean FALSE_REQUESTED_BY_USER
public static UserRequestedBoolean[] values()
for (UserRequestedBoolean c : UserRequestedBoolean.values()) System.out.println(c);
public static UserRequestedBoolean 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 getValue()
public boolean isRequestedByUser()
public boolean isTrue()
public boolean isFalse()
Copyright © 2006–2015. All rights reserved.