org.thymeleaf.expression
Class Bools
Object
org.thymeleaf.expression.Bools
public final class Bools
- extends Object
Utility class for performing boolean operations.
An object of this class is usually available in variable evaluation expressions with the name
#bools.
- Since:
- 1.0
- Author:
- Daniel Fernández
Constructor Summary |
Bools()
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bools
public Bools()
isTrue
public Boolean isTrue(Object target)
arrayIsTrue
public Boolean[] arrayIsTrue(Object[] target)
listIsTrue
public List<Boolean> listIsTrue(List<?> target)
setIsTrue
public Set<Boolean> setIsTrue(Set<?> target)
isFalse
public Boolean isFalse(Object target)
arrayIsFalse
public Boolean[] arrayIsFalse(Object[] target)
listIsFalse
public List<Boolean> listIsFalse(List<?> target)
setIsFalse
public Set<Boolean> setIsFalse(Set<?> target)
arrayAnd
public Boolean arrayAnd(Object[] target)
listAnd
public Boolean listAnd(List<?> target)
setAnd
public Boolean setAnd(Set<?> target)
arrayOr
public Boolean arrayOr(Object[] target)
listOr
public Boolean listOr(List<?> target)
setOr
public Boolean setOr(Set<?> target)
Copyright © 2013 The THYMELEAF team. All Rights Reserved.