public enum IPv6 extends Enum<IPv6> implements Constant
| Enum Constant and Description |
|---|
IPV6_CHECKSUM |
IPV6_JOIN_GROUP |
IPV6_LEAVE_GROUP |
IPV6_MULTICAST_HOPS |
IPV6_MULTICAST_IF |
IPV6_MULTICAST_LOOP |
IPV6_RECVTCLASS |
IPV6_RTHDR_TYPE_0 |
IPV6_TCLASS |
IPV6_UNICAST_HOPS |
IPV6_V6ONLY |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
String |
toString() |
int |
value() |
static IPv6 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPv6[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPv6 IPV6_JOIN_GROUP
public static final IPv6 IPV6_LEAVE_GROUP
public static final IPv6 IPV6_MULTICAST_HOPS
public static final IPv6 IPV6_MULTICAST_IF
public static final IPv6 IPV6_MULTICAST_LOOP
public static final IPv6 IPV6_UNICAST_HOPS
public static final IPv6 IPV6_V6ONLY
public static final IPv6 IPV6_CHECKSUM
public static final IPv6 IPV6_RECVTCLASS
public static final IPv6 IPV6_RTHDR_TYPE_0
public static final IPv6 IPV6_TCLASS
public static final long MIN_VALUE
public static final long MAX_VALUE
public static IPv6[] values()
for (IPv6 c : IPv6.values()) System.out.println(c);
public static IPv6 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 final int value()
Copyright © 2025. All rights reserved.