public enum RayResult extends Enum<RayResult>
| Enum Constant and Description | 
|---|
CONTINUE  | 
FIND_OTHER  | 
NEEDED_FOUND  | 
NEEDED_NOT_FOUND  | 
REACH_BOTTOM  | 
REACH_TOP  | 
TOO_FAR  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canFinish()  | 
boolean | 
isFounded()  | 
boolean | 
isShouldFinish()  | 
static RayResult | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RayResult[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final RayResult REACH_BOTTOM
public static final RayResult REACH_TOP
public static final RayResult NEEDED_FOUND
public static final RayResult NEEDED_NOT_FOUND
public static final RayResult TOO_FAR
public static final RayResult FIND_OTHER
public static final RayResult CONTINUE
public static RayResult[] values()
for (RayResult c : RayResult.values()) System.out.println(c);
public static RayResult 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 canFinish()
public boolean isFounded()
public boolean isShouldFinish()