@Test public void alwaysTrue_returnsTrue_whenParameterTrue() { assertThat(OptionFunctions.alwaysTrue().call(true)).isTrue(); }
@NonNull public static <T> Func1<T, Boolean> alwaysTrue() { return v -> true; }
OptionFunctions { @NonNull public static <T> Func1<T, Boolean> alwaysTrue() { return v -> true; } }
OptionFunctions { @NonNull public static <T> Func1<T, Boolean> alwaysTrue() { return v -> true; } private  OptionFunctions(); }
OptionFunctions { @NonNull public static <T> Func1<T, Boolean> alwaysTrue() { return v -> true; } private  OptionFunctions(); @NonNull static Action0 nothing0(); @NonNull static Action1<T> nothing1(); @NonNull static Func1<T, Boolean> alwaysTrue(); @NonNull static Func1<T, Boolean> alwaysFalse(); @NonNull static Func1<T, T> identity(); static Func1<Boolean, Boolean> invert(); @NonNull static Func1<Boolean, Boolean> ifTrue(); @NonNull static Func1<Boolean, Boolean> ifFalse(); @NonNull static Func1<T, Option<T>> toNone(); }
OptionFunctions { @NonNull public static <T> Func1<T, Boolean> alwaysTrue() { return v -> true; } private  OptionFunctions(); @NonNull static Action0 nothing0(); @NonNull static Action1<T> nothing1(); @NonNull static Func1<T, Boolean> alwaysTrue(); @NonNull static Func1<T, Boolean> alwaysFalse(); @NonNull static Func1<T, T> identity(); static Func1<Boolean, Boolean> invert(); @NonNull static Func1<Boolean, Boolean> ifTrue(); @NonNull static Func1<Boolean, Boolean> ifFalse(); @NonNull static Func1<T, Option<T>> toNone();  }