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