public enum Truthiness extends Enum<Truthiness>
| Modifier and Type | Method and Description |
|---|---|
Truthiness |
not() |
static Truthiness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Truthiness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Truthiness TRUTHY
public static final Truthiness FALSY
public static final Truthiness UNKNOWN
public static Truthiness[] values()
for (Truthiness c : Truthiness.values()) System.out.println(c);
public static Truthiness 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 Truthiness not()
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.