public final class Arrays extends Object
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.
Constructor and Description |
---|
Arrays() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object[] target,
Object element) |
boolean |
containsAll(Object[] target,
Collection<?> elements) |
boolean |
containsAll(Object[] target,
Object[] elements) |
boolean |
isEmpty(Object[] target) |
int |
length(Object[] target) |
Object[] |
toArray(Object target) |
Object[] |
toBooleanArray(Object target) |
Object[] |
toDoubleArray(Object target) |
Object[] |
toFloatArray(Object target) |
Object[] |
toIntegerArray(Object target) |
Object[] |
toLongArray(Object target) |
Object[] |
toStringArray(Object target) |
public int length(Object[] target)
public boolean isEmpty(Object[] target)
public boolean containsAll(Object[] target, Collection<?> elements)
Copyright © 2016 The THYMELEAF team. All rights reserved.