Utils.toPrimitiveBoolean(Boolean value) 方法

定义

Converts an object Boolean to a primitive boolean.

public static boolean toPrimitiveBoolean(Boolean value)

参数

value
Boolean

the Boolean value

返回

boolean

false if the given Boolean value is null or false else true

适用于