public enum DoubleAspect extends Enum<DoubleAspect>
| Enum Constant and Description |
|---|
BAD |
BOTH |
CLOSE |
ERROR |
FAIL |
FALSE |
GOOD |
NEGATIVE |
NO |
NONE |
OFF |
OK |
ON |
OPEN |
POSITIVE |
SUCCESS |
TRUE |
YES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyAspect()
except NONE
|
boolean |
matchAspect(DoubleAspect other) |
boolean |
sameAspect(DoubleAspect other) |
static DoubleAspect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoubleAspect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoubleAspect NONE
public static final DoubleAspect POSITIVE
public static final DoubleAspect NEGATIVE
public static final DoubleAspect BOTH
public static final DoubleAspect OFF
public static final DoubleAspect ON
public static final DoubleAspect CLOSE
public static final DoubleAspect OPEN
public static final DoubleAspect NO
public static final DoubleAspect YES
public static final DoubleAspect ERROR
public static final DoubleAspect OK
public static final DoubleAspect FAIL
public static final DoubleAspect SUCCESS
public static final DoubleAspect BAD
public static final DoubleAspect GOOD
public static final DoubleAspect FALSE
public static final DoubleAspect TRUE
public static DoubleAspect[] values()
for (DoubleAspect c : DoubleAspect.values()) System.out.println(c);
public static DoubleAspect 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 boolean sameAspect(DoubleAspect other)
public boolean matchAspect(DoubleAspect other)
public boolean anyAspect()
Copyright © 2024 江苏南大先腾信息产业股份有限公司. All rights reserved.