Package cc.maria.rdap.object
Enum IPNetworkObjectClass.ipVersion
- java.lang.Object
-
- java.lang.Enum<IPNetworkObjectClass.ipVersion>
-
- cc.maria.rdap.object.IPNetworkObjectClass.ipVersion
-
- All Implemented Interfaces:
Serializable,Comparable<IPNetworkObjectClass.ipVersion>
- Enclosing class:
- IPNetworkObjectClass
public static enum IPNetworkObjectClass.ipVersion extends Enum<IPNetworkObjectClass.ipVersion>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateipVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPNetworkObjectClass.ipVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static IPNetworkObjectClass.ipVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
v4
public static final IPNetworkObjectClass.ipVersion v4
-
v6
public static final IPNetworkObjectClass.ipVersion v6
-
-
Method Detail
-
values
public static IPNetworkObjectClass.ipVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IPNetworkObjectClass.ipVersion c : IPNetworkObjectClass.ipVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPNetworkObjectClass.ipVersion valueOf(String name)
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
-
-