public final class Sets extends Object
Expression Object for performing set operations inside Thymeleaf Standard Expressions.
An object of this class is usually available in variable evaluation expressions with the name #sets.
Constructor and Description |
---|
Sets() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Set<?> target,
Object element) |
boolean |
containsAll(Set<?> target,
Collection<?> elements) |
boolean |
containsAll(Set<?> target,
Object[] elements) |
boolean |
isEmpty(Set<?> target) |
int |
size(Set<?> target) |
Set<?> |
toSet(Object target) |
public int size(Set<?> target)
public boolean isEmpty(Set<?> target)
public boolean containsAll(Set<?> target, Collection<?> elements)
Copyright © 2016 The THYMELEAF team. All rights reserved.