Package io.jmix.search.utils
Class BooleanParser
java.lang.Object
io.jmix.search.utils.BooleanParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Parses object value as boolean: null value -> false Boolean value -> as is String value -> according toBoolean.parseBoolean(String)
-
Constructor Details
-
BooleanParser
public BooleanParser()
-
-
Method Details
-
parse
Parses object value as boolean:- null value -> false
- Boolean value -> as is
- String value -> according to
Boolean.parseBoolean(String)
- Parameters:
value
- input value- Returns:
- parsed boolean value
-