public final class CollectionPredicate extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E,T extends Collection<E>> |
empty() |
static <E,T extends Collection<E>> |
hasAny(Collection<E> objects) |
static <E,T extends Collection<E>> |
hasAny(E... objects) |
static <E,T extends Collection<E>> |
hasItem(E object) |
static <E,T extends Collection<E>> |
hasItems(Collection<E> objects) |
static <E,T extends Collection<E>> |
hasItems(E... objects) |
static <E,T extends Collection<E>> |
hasSize(Integer size) |
public static <E,T extends Collection<E>> java.util.function.Predicate<T> empty()
public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasItem(E object)
object - public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasItems(Collection<E> objects)
objects - @SafeVarargs public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasItems(E... objects)
objects - public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasAny(Collection<E> objects)
objects - @SafeVarargs public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasAny(E... objects)
objects - public static <E,T extends Collection<E>> java.util.function.Predicate<T> hasSize(Integer size)
size - Copyright © 2019 com.github.mvallim. All rights reserved.