Package org.analogweb.util
Class CollectionUtils
- java.lang.Object
-
- org.analogweb.util.CollectionUtils
-
public class CollectionUtils extends Object
- Author:
- snowgoose
-
-
Constructor Summary
Constructors Constructor Description CollectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
indexOf(List<T> aCollection, int index)
static <T> T
indexOf(List<T> aCollection, int index, T defaultValue)
static <T> boolean
isEmpty(Collection<T> aCollection)
static <T> boolean
isNotEmpty(Collection<T> aCollection)
-
-
-
Method Detail
-
isEmpty
public static <T> boolean isEmpty(Collection<T> aCollection)
-
isNotEmpty
public static <T> boolean isNotEmpty(Collection<T> aCollection)
-
indexOf
public static <T> T indexOf(List<T> aCollection, int index)
-
indexOf
public static <T> T indexOf(List<T> aCollection, int index, T defaultValue)
-
-