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