java.lang.Boolean not allowed as solution).Note
although the use of `true` and `false` would be more convenient, they can not be chosen since they are Java keyword and compiler won't allow the choice. And since enum naming convention suggests all-upper-case, that is what is done here.
| Modifier and Type | Field and Description |
|---|---|
| public static final OptBoolean | DEFAULT
Value that indicates that the annotation property does NOT have an explicit definition of enabled/disabled (or true/false); instead, a higher-level configuration value is used; or lacking higher-level global setting, default. |
| public static final OptBoolean | FALSE
Value that indicates that the annotation property is explicitly defined to be disabled, or false. |
| public static final OptBoolean | TRUE
Value that indicates that the annotation property is explicitly defined to be enabled, or true. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Boolean | |
| public boolean | |
| public static boolean | |
| public static OptBoolean | |
| public static OptBoolean | |
| public static OptBoolean[] |
| DEFAULT | back to summary |
|---|---|
| public static final OptBoolean DEFAULT Value that indicates that the annotation property does NOT have an explicit definition of enabled/disabled (or true/false); instead, a higher-level configuration value is used; or lacking higher-level global setting, default. | |
| FALSE | back to summary |
|---|---|
| public static final OptBoolean FALSE Value that indicates that the annotation property is explicitly defined to be disabled, or false. | |
| TRUE | back to summary |
|---|---|
| public static final OptBoolean TRUE Value that indicates that the annotation property is explicitly defined to be enabled, or true. | |
| OptBoolean | back to summary |
|---|---|
| private OptBoolean() | |
| asBoolean | back to summary |
|---|---|
| public Boolean asBoolean() | |
| asPrimitive | back to summary |
|---|---|
| public boolean asPrimitive() | |
| equals | back to summary |
|---|---|
| public static boolean equals(Boolean b1, Boolean b2) | |
| fromBoolean | back to summary |
|---|---|
| public static OptBoolean fromBoolean(Boolean b) | |
| valueOf | back to summary |
|---|---|
| public static OptBoolean valueOf(String name) | |
| values | back to summary |
|---|---|
| public static OptBoolean[] values() | |