public static enum IP.Version extends Enum<IP.Version> implements IMarkIx
| Modifier and Type | Method and Description |
|---|---|
int |
ix() |
static IP.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IP.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IP.Version FOUR
public static final IP.Version SIX
public static IP.Version[] values()
for (IP.Version c : IP.Version.values()) System.out.println(c);
public static IP.Version 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 © 2019. All rights reserved.