Top Inners Fields Constructors Methods
jnr.constants.platform.freebsd.aarch64

public final Enum Sock

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
public static final long
public static final long
public static final Sock
public static final Sock
public static final Sock
public static final Sock
public static final Sock
public static final Sock
private final long

Constructor Summary

AccessConstructor and Description
private
Sock(long value)

Method Summary

Modifier and TypeMethod and Description
public final boolean
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 Sock
public static Sock[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

MAX_VALUEback to summary
public static final long MAX_VALUE
MIN_VALUEback to summary
public static final long MIN_VALUE
SOCK_DGRAMback to summary
public static final Sock SOCK_DGRAM
SOCK_MAXADDRLENback to summary
public static final Sock SOCK_MAXADDRLEN
SOCK_RAWback to summary
public static final Sock SOCK_RAW
SOCK_RDMback to summary
public static final Sock SOCK_RDM
SOCK_SEQPACKETback to summary
public static final Sock SOCK_SEQPACKET
SOCK_STREAMback to summary
public static final Sock SOCK_STREAM
valueback to summary
private final long value

Constructor Detail

Sockback to summary
private Sock(long value)

Method Detail

definedback to summary
public final boolean defined()

Implements jnr.constants.Constant.defined.

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 Sock valueOf(String name)
valuesback to summary
public static Sock[] values()
jnr.constants.platform.freebsd.aarch64 back to summary

pack-priv final Class Sock.StringTable

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Map<Sock, String>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static final Map<Sock, String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

descriptionsback to summary
public static final Map<Sock, String> descriptions

Constructor Detail

StringTableback to summary
pack-priv StringTable()

Method Detail

generateTableback to summary
public static final Map<Sock, String> generateTable()