Top Fields Constructors Methods
jnr.constants.platform

public final Enum SocketLevel

extends Enum<SocketLevel>
implements Constant
Class Inheritance
All Implemented Interfaces
jnr.constants.Constant

Field Summary

Modifier and TypeField and Description
public static final SocketLevel
private static final ConstantResolver<SocketLevel>
public static final SocketLevel
public static final SocketLevel
public static final SocketLevel
public static final SocketLevel
public static final SocketLevel

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final boolean
public final String
public final int
public final long
public final String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.
public final int
public static SocketLevel
public static SocketLevel
valueOf(long value)

public static SocketLevel[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

__UNKNOWN_CONSTANT__back to summary
public static final SocketLevel __UNKNOWN_CONSTANT__
resolverback to summary
private static final ConstantResolver<SocketLevel> resolver
SOL_IPback to summary
public static final SocketLevel SOL_IP
SOL_IPV6back to summary
public static final SocketLevel SOL_IPV6
SOL_SOCKETback to summary
public static final SocketLevel SOL_SOCKET
SOL_TCPback to summary
public static final SocketLevel SOL_TCP
SOL_UDPback to summary
public static final SocketLevel SOL_UDP

Constructor Detail

SocketLevelback to summary
private SocketLevel()

Method Detail

definedback to summary
public final boolean defined()

Implements jnr.constants.Constant.defined.

descriptionback to summary
public final String description()
intValueback to summary
public final int intValue()

Implements jnr.constants.Constant.intValue.

longValueback to summary
public final long longValue()

Implements jnr.constants.Constant.longValue.

toStringback to summary
public final String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

valueback to summary
public final int value()
valueOfback to summary
public static SocketLevel valueOf(String name)
valueOfback to summary
public static SocketLevel valueOf(long value)
valuesback to summary
public static SocketLevel[] values()