public interface ITriState
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAsBooleanObj(Boolean aUndefinedValue)
Convert the tri state value into a
Boolean value, depending on what
"undefined" means. |
boolean |
getAsBooleanValue(boolean bUndefinedValue)
Convert the tri state value into a boolean value, depending on what
"undefined" means.
|
boolean |
isDefined() |
boolean |
isFalse() |
boolean |
isTrue() |
boolean |
isUndefined() |
boolean isTrue()
true if the value is true.boolean isFalse()
true if the value is falseboolean isDefined()
true if the value is not undefined (if it is either
true or false)boolean isUndefined()
true if the value is undefined (if it is neither
true nor false)boolean getAsBooleanValue(boolean bUndefinedValue)
@Nullable Boolean getAsBooleanObj(@Nullable Boolean aUndefinedValue)
Boolean value, depending on what
"undefined" means.aUndefinedValue - The Boolean representation of undefined.Boolean.TRUE if isTrue() is true,
Boolean.FALSE if isFalse() is true, or otherwise
the passed parameter!Copyright © 2014–2015 Philip Helger. All rights reserved.