public enum IPv6 extends Enum<IPv6> implements Constant
| 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_DONTFRAG
public static final IPv6 IPV6_DSTOPTS
public static final IPv6 IPV6_HOPLIMIT
public static final IPv6 IPV6_HOPOPTS
public static final IPv6 IPV6_NEXTHOP
public static final IPv6 IPV6_PATHMTU
public static final IPv6 IPV6_PKTINFO
public static final IPv6 IPV6_RECVDSTOPTS
public static final IPv6 IPV6_RECVHOPLIMIT
public static final IPv6 IPV6_RECVHOPOPTS
public static final IPv6 IPV6_RECVPKTINFO
public static final IPv6 IPV6_RECVRTHDR
public static final IPv6 IPV6_RECVTCLASS
public static final IPv6 IPV6_RTHDR
public static final IPv6 IPV6_RTHDRDSTOPTS
public static final IPv6 IPV6_RTHDR_TYPE_0
public static final IPv6 IPV6_RECVPATHMTU
public static final IPv6 IPV6_TCLASS
public static final IPv6 IPV6_USE_MIN_MTU
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.