| 构造器和说明 |
|---|
CollectionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
getElement(Collection<T> collection,
int index) |
static <T> T |
getFirstElement(Collection<T> collection) |
static <T> T |
getLastElement(Collection<T> collection) |
static boolean |
isEmpty(Collection<?> collection) |
static boolean |
notEmpty(Collection<?> collection) |
public static boolean isEmpty(Collection<?> collection)
public static boolean notEmpty(Collection<?> collection)
public static <T> T getFirstElement(Collection<T> collection)
public static <T> T getLastElement(Collection<T> collection)
public static <T> T getElement(Collection<T> collection, int index)
Copyright © 2024 EFCloud. All rights reserved.