@Override public ZippedFlow<A, B> removeOnFirst(Predicate<? super A> predicate) { assert predicate != null; return filterOnFirst(F.not(predicate)); }
/** * A Predicate factory for comparison of a Comparable against a fixed value; true * if the element is less than the value. */ public static <T extends Comparable<T>> Predicate<T> lt(T value) { return not(gteq(value)); }
@Override public Flow<T> remove(Predicate<? super T> predicate) { assert predicate != null; return filter(F.not(predicate)); }
/** * A Predicate factory for comparison of a Comprable element against a fixed value; true * if the element is less than or equal to the value. */ public static <T extends Comparable<T>> Predicate<T> lteq(T value) { return not(gt(value)); }
/** * A Predicate factory; returns true if the value from the Flow is not null. */ public static <T> Predicate<T> notNull() { return not(isNull()); }
/** * A Predicate factory for comparison of a Comprable element against a fixed value; true * if the element is less than or equal to the value. */ public static <T extends Comparable<T>> Predicate<T> lteq(T value) { return not(gt(value)); }
@Override public ZippedFlow<A, B> removeOnFirst(Predicate<? super A> predicate) { assert predicate != null; return filterOnFirst(F.not(predicate)); }
@Override public Flow<T> remove(Predicate<? super T> predicate) { assert predicate != null; return filter(F.not(predicate)); }
/** * A Predicate factory; returns true if the value from the Flow is not null. */ public static <T> Predicate<T> notNull() { return not(isNull()); }
@Override public ZippedFlow<A, B> removeOnSecond(Predicate<? super B> predicate) { assert predicate != null; return filterOnSecond(F.not(predicate)); }
/** * A Predicate factory for comparison of a Comparable against a fixed value; true * if the element is less than the value. */ public static <T extends Comparable<T>> Predicate<T> lt(T value) { return not(gteq(value)); }
@Override public ZippedFlow<A, B> removeOnSecond(Predicate<? super B> predicate) { assert predicate != null; return filterOnSecond(F.not(predicate)); }