@Test public void alwaysFalse_returnsFalse_whenParameterIsFalse() throws Exception { assertThat(Functions.alwaysFalse().test(false)).isFalse(); }
@NonNull public static <T> Predicate<T> alwaysFalse() { return v -> false; }
Functions { @NonNull public static <T> Predicate<T> alwaysFalse() { return v -> false; } }
Functions { @NonNull public static <T> Predicate<T> alwaysFalse() { return v -> false; } private  Functions(); }
Functions { @NonNull public static <T> Predicate<T> alwaysFalse() { return v -> false; } private  Functions(); @NonNull static Action nothing0(); @NonNull static Consumer<T> nothing1(); @NonNull static Predicate<T> alwaysTrue(); @NonNull static Predicate<T> alwaysFalse(); @NonNull static Function<T, T> identity(); static Function<Boolean, Boolean> invert(); @NonNull static Function<Boolean, Boolean> ifTrue(); @NonNull static Function<Boolean, Boolean> ifFalse(); static R apply(BiFunction<T, U, R> f, T t, U u); }
Functions { @NonNull public static <T> Predicate<T> alwaysFalse() { return v -> false; } private  Functions(); @NonNull static Action nothing0(); @NonNull static Consumer<T> nothing1(); @NonNull static Predicate<T> alwaysTrue(); @NonNull static Predicate<T> alwaysFalse(); @NonNull static Function<T, T> identity(); static Function<Boolean, Boolean> invert(); @NonNull static Function<Boolean, Boolean> ifTrue(); @NonNull static Function<Boolean, Boolean> ifFalse(); static R apply(BiFunction<T, U, R> f, T t, U u);  }