Class TVLUtils

java.lang.Object
com.mchange.v1.lang.TVLUtils

public final class TVLUtils extends 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 Details

    • TVLUtils

      public TVLUtils()
  • Method Details

    • isDefinitelyTrue

      public static final boolean isDefinitelyTrue(Boolean check)
    • isDefinitelyFalse

      public static final boolean isDefinitelyFalse(Boolean check)
    • isPossiblyTrue

      public static final boolean isPossiblyTrue(Boolean check)
    • isPossiblyFalse

      public static final boolean isPossiblyFalse(Boolean check)
    • isUnknown

      public static final boolean isUnknown(Boolean check)