org.thymeleaf.util
Class SetUtils
Object
org.thymeleaf.util.SetUtils
public final class SetUtils
- extends Object
- Since:
- 1.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toSet
public static Set<?> toSet(Object target)
size
public static int size(Set<?> target)
isEmpty
public static boolean isEmpty(Set<?> target)
contains
public static boolean contains(Set<?> target,
Object element)
containsAll
public static boolean containsAll(Set<?> target,
Object[] elements)
containsAll
public static boolean containsAll(Set<?> target,
Collection<?> elements)
singletonSet
public static <X> Set<X> singletonSet(X element)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.