public enum IpType extends Enum<IpType>
Enum Constant and Description |
---|
PRIVATE |
PRIVATE_2 |
PUBLIC |
PUBLIC_2 |
PUBLIC_3 |
PUBLIC_4 |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static IpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpType PRIVATE
public static final IpType PRIVATE_2
public static final IpType PUBLIC
public static final IpType PUBLIC_2
public static final IpType PUBLIC_3
public static final IpType PUBLIC_4
public static IpType[] values()
for (IpType c : IpType.values()) System.out.println(c);
public static IpType 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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.