public enum When extends Enum<When>
| Enum Constant and Description | 
|---|
| ALWAYSS is a subset of T | 
| MAYBES intersection T is non empty and S - T is nonempty | 
| NEVERS intersection T is empty | 
| UNKNOWNnothing definitive is known about the relation between S and T | 
| Modifier and Type | Method and Description | 
|---|---|
| static When | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static When[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final When ALWAYS
public static final When UNKNOWN
public static final When MAYBE
public static final When NEVER
public static When[] values()
for (When c : When.values()) System.out.println(c);
public static When 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 © 2017. All rights reserved.