@Immutable public final class BooleanHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanValue(Boolean aObj,
boolean bDefault)
Get the primitive value of the passed object value.
|
public static boolean getBooleanValue(@Nullable Boolean aObj, boolean bDefault)
aObj
- The Boolean value to be convertedbDefault
- The default value to be returned, if the passed obj is
null
.Copyright © 2014–2019 Philip Helger. All rights reserved.