public final class BooleanUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
ifTrue(Boolean bool,
Runnable runnable)
If the boolean is not null and true, call the runnable/FunctionalInterface (depends on JDK8+)
|
static boolean |
isFalse(Boolean b) |
static boolean |
isFalseOrNull(Boolean b) |
static boolean |
isTrue(Boolean b) |
static boolean |
isTrue(String str) |
static boolean |
isTrueOrNull(Boolean b) |
public static boolean ifTrue(Boolean bool, Runnable runnable)
bool
- runnable
- public static boolean isTrueOrNull(Boolean b)
public static boolean isFalseOrNull(Boolean b)
public static boolean isTrue(Boolean b)
public static boolean isFalse(Boolean b)
public static boolean isTrue(String str)
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.