Package org.thymeleaf.expression
Class Arrays
-
- org.thymeleaf.expression.Arrays
-
public final class Arrays extends
Expression Object for performing array operations inside Thymeleaf Standard Expressions.
An object of this class is usually available in variable evaluation expressions with the name
#arrays
.- Since:
- 1.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description Arrays()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
[] target, element)
boolean
[] target, [] elements)
boolean
[] target, <?> elements)
boolean
[] target)
int
[] target)
[]
target)
[]
target)
[]
target)
[]
target)
[]
target)
[]
target)
[]
target)
-
-
-
Method Detail
-
toArray
public [] toArray( target)
-
toStringArray
public [] toStringArray( target)
-
toIntegerArray
public [] toIntegerArray( target)
-
toLongArray
public [] toLongArray( target)
-
toDoubleArray
public [] toDoubleArray( target)
-
toFloatArray
public [] toFloatArray( target)
-
toBooleanArray
public [] toBooleanArray( target)
-
length
public int length([] target)
-
isEmpty
public boolean isEmpty([] target)
-
contains
public boolean contains([] target, element)
-
containsAll
public boolean containsAll([] target, [] elements)
-
containsAll
public boolean containsAll([] target, <?> elements)
-
-