Package com.maxmind.geoip2.model
Enum ConnectionTypeResponse.ConnectionType
java.lang.Object
java.lang.Enum<ConnectionTypeResponse.ConnectionType>
com.maxmind.geoip2.model.ConnectionTypeResponse.ConnectionType
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionTypeResponse.ConnectionType>
,java.lang.constant.Constable
- Enclosing class:
- ConnectionTypeResponse
public static enum ConnectionTypeResponse.ConnectionType
extends Enum<ConnectionTypeResponse.ConnectionType>
The enumerated values that connection-type may take.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String s) toString()
Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DIALUP
-
CABLE_DSL
-
CORPORATE
-
CELLULAR
-
SATELLITE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<ConnectionTypeResponse.ConnectionType>
-
fromString
-