org.thymeleaf.expression
Class Sets

Object
  extended by org.thymeleaf.expression.Sets

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.

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
Sets()
           
 
Method Summary
 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)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sets

public Sets()
Method Detail

toSet

public Set<?> toSet(Object target)

size

public int size(Set<?> target)

isEmpty

public boolean isEmpty(Set<?> target)

contains

public boolean contains(Set<?> target,
                        Object element)

containsAll

public boolean containsAll(Set<?> target,
                           Object[] elements)

containsAll

public boolean containsAll(Set<?> target,
                           Collection<?> elements)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.