public abstract class FArray extends Object
Constructor and Description |
---|
FArray() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
contains(T[] xs,
Predicate<T> predicate) |
static <T> List<T> |
filter(T[] xs,
Predicate<T> predicate) |
static <T> void |
filter(T[] xs,
Predicate<T> predicate,
Collection<T> dest) |
static <A,B> List<B> |
flatMap(A[] as,
Function<A,? extends Iterable<B>> f) |
static <A,B> void |
flatMapTo(A[] as,
Function<A,? extends Iterable<B>> f,
Collection<? super B> bs) |
public static <T> void filter(T[] xs, Predicate<T> predicate, Collection<T> dest)
public static <T> boolean contains(T[] xs, Predicate<T> predicate)
public static <A,B> void flatMapTo(A[] as, Function<A,? extends Iterable<B>> f, Collection<? super B> bs)
Copyright © 2021 org.pitest. All rights reserved.