public abstract class Prelude extends Object
Constructor and Description |
---|
Prelude() |
Modifier and Type | Method and Description |
---|---|
static <A> Consumer<A> |
accumulateTo(Collection<A> collection) |
static <A> And<A> |
and(Iterable<? extends Predicate<A>> ps) |
static <A> And<A> |
and(Predicate<A>... ps) |
static <T> Function<T,Iterable<T>> |
asList(Class<T> type) |
static <A> Function<A,A> |
id() |
static <A> Function<A,A> |
id(Class<A> type) |
static <T extends Number> |
isGreaterThan(T value) |
static <T> Consumer<T> |
noSideEffect(Class<T> clazz) |
static <A> Predicate<A> |
not(Predicate<A> p) |
static <A> Or<A> |
or(Iterable<Predicate<A>> ps) |
static <A> Or<A> |
or(Predicate<A>... ps) |
static <T> Consumer<T> |
println() |
static <T> Consumer<T> |
println(Class<T> type) |
static <T> Consumer<T> |
printlnTo(Class<T> type,
PrintStream stream) |
static <T> Consumer<T> |
printlnTo(PrintStream stream) |
static <T> Consumer<T> |
printlnWith(T t) |
static <A,B> Consumer<A> |
putToMap(Map<A,B> map,
B value) |
@SafeVarargs public static <A> And<A> and(Predicate<A>... ps)
@SafeVarargs public static <A> Or<A> or(Predicate<A>... ps)
public static <A> Consumer<A> accumulateTo(Collection<A> collection)
public static <A> Function<A,A> id()
public static <T> Consumer<T> println()
public static <T> Consumer<T> printlnTo(Class<T> type, PrintStream stream)
public static <T> Consumer<T> printlnTo(PrintStream stream)
public static <T> Consumer<T> printlnWith(T t)
Copyright © 2021 org.pitest. All rights reserved.