public final class CollectionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(Collection<?> collection,
Object item) |
static boolean |
containsAny(Collection<?> collection,
Object... items) |
static boolean |
hasOneItem(Collection<?> col) |
static boolean |
isEmpty(Collection<?> col) |
static boolean |
isNotEmpty(Collection<?> col) |
static boolean |
isNotEmpty(Object[] array) |
static boolean |
noneEmpty(Collection<?>... collections) |
static boolean |
sameContent(Collection<?> c1,
Collection<?> c2) |
static int |
size(Collection<?> col) |
public static boolean isEmpty(Collection<?> col)
public static boolean isNotEmpty(Collection<?> col)
public static boolean hasOneItem(Collection<?> col)
public static boolean isNotEmpty(Object[] array)
public static int size(Collection<?> col)
public static boolean contains(Collection<?> collection, Object item)
public static boolean containsAny(Collection<?> collection, Object... items)
public static boolean noneEmpty(Collection<?>... collections)
public static boolean sameContent(Collection<?> c1, Collection<?> c2)
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.