public final class MorePredicates extends Object
Modifier and Type | Method and Description |
---|---|
static <S,D> com.google.common.base.Predicate<D> |
any(Iterable<S> options,
com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function) |
static <S,D> com.google.common.base.Predicate<D> |
compose(Iterable<S> includes,
Iterable<S> excludes,
com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function) |
static com.google.common.base.Predicate<CharSequence> |
matches(Pattern pattern) |
static <S,D> com.google.common.base.Predicate<D> |
none(Iterable<S> options,
com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function) |
static com.google.common.base.Predicate<String> |
startsWith(String prefix) |
public static <S,D> com.google.common.base.Predicate<D> any(Iterable<S> options, com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function)
public static <S,D> com.google.common.base.Predicate<D> none(Iterable<S> options, com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function)
public static <S,D> com.google.common.base.Predicate<D> compose(Iterable<S> includes, Iterable<S> excludes, com.google.common.base.Function<S,com.google.common.base.Predicate<D>> function)
public static com.google.common.base.Predicate<CharSequence> matches(Pattern pattern)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.