public static enum Util.AddressScope extends java.lang.Enum<Util.AddressScope>
| Enum Constant and Description |
|---|
GLOBAL |
LINK_LOCAL |
LOOPBACK |
NON_LOOPBACK |
SITE_LOCAL |
| Modifier and Type | Method and Description |
|---|---|
static Util.AddressScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Util.AddressScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.AddressScope GLOBAL
public static final Util.AddressScope SITE_LOCAL
public static final Util.AddressScope LINK_LOCAL
public static final Util.AddressScope LOOPBACK
public static final Util.AddressScope NON_LOOPBACK
public static Util.AddressScope[] values()
for (Util.AddressScope c : Util.AddressScope.values()) System.out.println(c);
public static Util.AddressScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 1998-2020 Red Hat. All Rights Reserved.