Groovy 处理 Boolean

Type Condition For Truth
Boolean True
Collection Not Empty
Character Value Not 0
CharSequence Length greater than 0
Emumeration Has More elements
Iterator Has Next
Number Double value not 0
Map Not empty
Matcher At least one match
Object[] Length greater than 0
Any other Type Reference not null