public enum Duplex extends Enum<Duplex> implements Enumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
Duplex.Builder |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<Duplex> |
ALL |
static EnumSet<Duplex> |
NONE |
static EnumerationSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static Duplex.Builder |
builder() |
static UnsignedInteger |
getMask(Collection<Duplex> list) |
static UnsignedInteger |
getMask(Duplex... list) |
static EnumSet<Duplex> |
getSet(int mask) |
static EnumSet<Duplex> |
getSet(UnsignedInteger mask) |
int |
getValue()
Return the integer value of this enumeration value.
|
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
Duplex.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
static Duplex |
valueOf(int value) |
static Duplex[] |
valueOf(int[] value) |
static Duplex |
valueOf(Integer value) |
static Duplex[] |
valueOf(Integer[] value) |
static Duplex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Duplex |
valueOf(UnsignedInteger value) |
static Duplex[] |
valueOf(UnsignedInteger[] value) |
static Duplex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDescription, getValueAsStringpublic static final Duplex Full
public static final Duplex Half
public static final Duplex Unknown
public static final EnumerationSpecification SPECIFICATION
public static Duplex[] values()
for (Duplex c : Duplex.values()) System.out.println(c);
public static Duplex 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 EnumerationSpecification specification()
EnumerationEnumeration.specification in interface Enumerationpublic static Duplex valueOf(int value)
public static Duplex valueOf(UnsignedInteger value)
public static Duplex[] valueOf(int[] value)
public static Duplex[] valueOf(UnsignedInteger[] value)
public static UnsignedInteger getMask(Duplex... list)
public static UnsignedInteger getMask(Collection<Duplex> list)
public static EnumSet<Duplex> getSet(UnsignedInteger mask)
public int getValue()
EnumerationgetValue in interface Enumerationpublic static Duplex.Builder builder()
public Duplex.Builder toBuilder()
EnumerationEnumeration.toBuilder in interface EnumerationCopyright © 2026. All rights reserved.