Yes this *could* be handled with Boolean, but then you run into potential problems with unwanted auto-unboxing.
| Modifier and Type | Field and Description |
|---|---|
| public static final TruthValue | |
| public static final TruthValue | |
| public static final TruthValue |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static boolean | |
| public static TruthValue | |
| public static TruthValue[] |
| FALSE | back to summary |
|---|---|
| public static final TruthValue FALSE | |
| TRUE | back to summary |
|---|---|
| public static final TruthValue TRUE | |
| UNKNOWN | back to summary |
|---|---|
| public static final TruthValue UNKNOWN | |
| TruthValue | back to summary |
|---|---|
| private TruthValue() | |
| toBoolean | back to summary |
|---|---|
public boolean toBoolean(boolean defaultValue)
| |
| toBoolean | back to summary |
|---|---|
| public static boolean toBoolean(TruthValue value, boolean defaultValue) | |
| valueOf | back to summary |
|---|---|
| public static TruthValue valueOf(String name) | |
| values | back to summary |
|---|---|
| public static TruthValue[] values() | |