public enum IP extends Enum<IP> 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 IP |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IP IP_OPTIONS
public static final IP IP_HDRINCL
public static final IP IP_TOS
public static final IP IP_TTL
public static final IP IP_RECVOPTS
public static final IP IP_RECVRETOPTS
public static final IP IP_RECVDSTADDR
public static final IP IP_RETOPTS
public static final IP IP_MINTTL
public static final IP IP_RECVTTL
public static final IP IP_RECVIF
public static final IP IP_PORTRANGE
public static final IP IP_MULTICAST_IF
public static final IP IP_MULTICAST_TTL
public static final IP IP_MULTICAST_LOOP
public static final IP IP_ADD_MEMBERSHIP
public static final IP IP_DROP_MEMBERSHIP
public static final IP IP_DEFAULT_MULTICAST_TTL
public static final IP IP_DEFAULT_MULTICAST_LOOP
public static final IP IP_MAX_MEMBERSHIPS
public static final long MIN_VALUE
public static final long MAX_VALUE
public static IP[] values()
for (IP c : IP.values()) System.out.println(c);
public static IP 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.