Package org.thymeleaf.util
Class SetUtils
-
- org.thymeleaf.util.SetUtils
-
public final class SetUtils extends
- Since:
- 1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
<?> target, element)
static boolean
<?> target, [] elements)
static boolean
<?> target, <?> elements)
static boolean
<?> target)
static <X> <X>
singletonSet(X element)
static int
<?> target)
static <?>
target)
-
-
-
Method Detail
-
toSet
public static <?> toSet( target)
-
size
public static int size(<?> target)
-
isEmpty
public static boolean isEmpty(<?> target)
-
contains
public static boolean contains(<?> target, element)
-
containsAll
public static boolean containsAll(<?> target, [] elements)
-
containsAll
public static boolean containsAll(<?> target, <?> elements)
-
singletonSet
public static <X> <X> singletonSet(X element)
-
-