public static enum ConnectionTypeResponse.ConnectionType extends Enum<ConnectionTypeResponse.ConnectionType>
Enum Constant and Description |
---|
CABLE_DSL |
CELLULAR |
CORPORATE |
DIALUP |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ConnectionTypeResponse.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionTypeResponse.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionTypeResponse.ConnectionType DIALUP
public static final ConnectionTypeResponse.ConnectionType CABLE_DSL
public static final ConnectionTypeResponse.ConnectionType CORPORATE
public static final ConnectionTypeResponse.ConnectionType CELLULAR
public static ConnectionTypeResponse.ConnectionType[] values()
for (ConnectionTypeResponse.ConnectionType c : ConnectionTypeResponse.ConnectionType.values()) System.out.println(c);
public static ConnectionTypeResponse.ConnectionType 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 nullpublic String toString()
toString
in class Enum<ConnectionTypeResponse.ConnectionType>
Copyright © 2014 MaxMind, Inc.. All Rights Reserved.