public final class Sets extends Object
Utility class for performing set operations.
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 © 2017 The THYMELEAF team. All rights reserved.