org.thymeleaf.util
Class ListUtils

Object
  extended by org.thymeleaf.util.ListUtils

public final class ListUtils
extends Object

Since:
1.0
Author:
Daniel Fernández

Method Summary
static boolean contains(List<?> target, Object element)
           
static boolean containsAll(List<?> target, Collection<?> elements)
           
static boolean containsAll(List<?> target, Object[] elements)
           
static boolean isEmpty(List<?> target)
           
static int size(List<?> target)
           
static List<?> toList(Object target)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toList

public static List<?> toList(Object target)

size

public static int size(List<?> target)

isEmpty

public static boolean isEmpty(List<?> target)

contains

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

containsAll

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

containsAll

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


Copyright © 2012 The THYMELEAF team. All Rights Reserved.