Package com.mchange.v1.lang
Class TVLUtils
- java.lang.Object
-
- com.mchange.v1.lang.TVLUtils
-
public final class TVLUtils extends java.lang.Object
Three-Valued Logic Utils -- utilities for treating a Boolean variable as a three-state logical entity, with states true, false, or unknown if the variable is null.
-
-
Constructor Summary
Constructors Constructor Description TVLUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isDefinitelyFalse(java.lang.Boolean check)
static boolean
isDefinitelyTrue(java.lang.Boolean check)
static boolean
isPossiblyFalse(java.lang.Boolean check)
static boolean
isPossiblyTrue(java.lang.Boolean check)
static boolean
isUnknown(java.lang.Boolean check)
-
-
-
Method Detail
-
isDefinitelyTrue
public static final boolean isDefinitelyTrue(java.lang.Boolean check)
-
isDefinitelyFalse
public static final boolean isDefinitelyFalse(java.lang.Boolean check)
-
isPossiblyTrue
public static final boolean isPossiblyTrue(java.lang.Boolean check)
-
isPossiblyFalse
public static final boolean isPossiblyFalse(java.lang.Boolean check)
-
isUnknown
public static final boolean isUnknown(java.lang.Boolean check)
-
-