org.thymeleaf.expression
Class Lists
Object
org.thymeleaf.expression.Lists
public final class Lists
- extends Object
Utility class for performing list operations.
An object of this class is usually available in variable evaluation expressions with the name
#lists.
- Since:
- 1.0
- Author:
- Daniel Fernández
Constructor Summary |
Lists()
|
Method Summary |
boolean |
contains(java.util.List<?> target,
Object element)
|
boolean |
containsAll(java.util.List<?> target,
java.util.Collection<?> elements)
|
boolean |
containsAll(java.util.List<?> target,
Object[] elements)
|
boolean |
isEmpty(java.util.List<?> target)
|
int |
size(java.util.List<?> target)
|
java.util.List<?> |
toList(Object target)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lists
public Lists()
toList
public java.util.List<?> toList(Object target)
size
public int size(java.util.List<?> target)
isEmpty
public boolean isEmpty(java.util.List<?> target)
contains
public boolean contains(java.util.List<?> target,
Object element)
containsAll
public boolean containsAll(java.util.List<?> target,
Object[] elements)
containsAll
public boolean containsAll(java.util.List<?> target,
java.util.Collection<?> elements)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.