public static enum FunctionalUnit.Duplex extends Enum<FunctionalUnit.Duplex>
Enum Constant and Description |
---|
DUPLEX_BACK_FRIST |
DUPLEX_FRONT_FIRST |
NO_DUPLEX_BACK_ONLY |
NO_DUPLEX_FRONT_ONLY |
Modifier and Type | Method and Description |
---|---|
static FunctionalUnit.Duplex |
getBySystemValue(long value) |
long |
toSystemValue() |
static FunctionalUnit.Duplex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionalUnit.Duplex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionalUnit.Duplex DUPLEX_FRONT_FIRST
public static final FunctionalUnit.Duplex DUPLEX_BACK_FRIST
public static final FunctionalUnit.Duplex NO_DUPLEX_FRONT_ONLY
public static final FunctionalUnit.Duplex NO_DUPLEX_BACK_ONLY
public static FunctionalUnit.Duplex[] values()
for (FunctionalUnit.Duplex c : FunctionalUnit.Duplex.values()) System.out.println(c);
public static FunctionalUnit.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 static FunctionalUnit.Duplex getBySystemValue(long value)
public long toSystemValue()
Copyright © 2014 LAB Asprise. All Rights Reserved.