public enum Reachability extends Enum<Reachability>
Enum Constant and Description |
---|
NotReachable |
Reachable |
RedundantlyReachable |
Unknown |
Modifier and Type | Method and Description |
---|---|
static Reachability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reachability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reachability NotReachable
public static final Reachability Reachable
public static final Reachability RedundantlyReachable
public static final Reachability Unknown
public static Reachability[] values()
for (Reachability c : Reachability.values()) System.out.println(c);
public static Reachability 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.