BooleanFunctions
The Boolean
class contains functions
for handling boolean
primitives and Boolean
objects in Gloop.
Recommended for use in Gloop only
In Groovy, you can use functions from the
org.apache.commons.lang3.BooleanUtils
class instead
for your boolean-operation needs. Boolean
extends this class but adds a few more functions.
Their contents are more or less the same.
You can use these functions in both Gloop and Groovy. Below is a snippet showing how
to use Boolean
's instance extension functions:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|