comment régler booléen sur false si null java

Boolean.TRUE.equals(/*your boolean value here*/);

//if true, true equals true so returns true
//if false, false does not equal true to returns false
//if null, null does not equal true so returns false
Modern Manatee