public interface JoolManipulation<T> extends IterableFilterable<T>, org.jooq.lambda.Seq<T>
| Modifier and Type | Method and Description |
|---|---|
ReactiveSeq<T> |
filter(java.util.function.Predicate<? super T> fn)
Keep only elements for which the supplied predicates hold
e.g.
|
default ReactiveSeq<T> |
filterNot(java.util.function.Predicate<? super T> fn)
Remove any elements for which the predicate holds (inverse operation to filter)
e.g.
|
default ReactiveSeq<T> |
notNull()
Filter elements retaining only values which are not null
|
default <U> ReactiveSeq<U> |
ofType(java.lang.Class<? extends U> type)
Keep only those elements in a stream that are of a given type.
|
default ReactiveSeq<T> |
removeAll(java.lang.Iterable<? extends T> it)
Remove all elements in the supplied Iterable from this filterable
|
default ReactiveSeq<T> |
removeAll(org.jooq.lambda.Seq<? extends T> seq) |
default ReactiveSeq<T> |
removeAll(java.util.stream.Stream<? extends T> stream)
Remove all elements in the supplied Stream from this filterable
|
default ReactiveSeq<T> |
removeAll(T... values)
Remove all supplied elements from this filterable
|
default ReactiveSeq<T> |
retainAll(java.lang.Iterable<? extends T> it)
Retain only the supplied elements in the returned Filterable
|
default ReactiveSeq<T> |
retainAll(org.jooq.lambda.Seq<? extends T> seq) |
default ReactiveSeq<T> |
retainAll(java.util.stream.Stream<? extends T> stream)
Retain only the supplied elements in the returned Filterable
|
default ReactiveSeq<T> |
retainAll(T... values)
Retain only the supplied elements in the returned Filterable
|
append, append, append, append, append, append, cast, cast, close, concat, concat, concat, concat, concat, concat, concat, concat, concat, concat, contains, containsAll, containsAll, containsAll, containsAll, containsAny, containsAny, containsAny, containsAny, count, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, cycle, cycle, cycle, cycle, cycle, cycle, cycle, cycle, distinct, distinct, drop, duplicate, duplicate, empty, findFirst, findSingle, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, foldLeft, foldLeft, foldLeft, foldLeft, foldRight, foldRight, foldRight, foldRight, forEach, format, generate, generate, generate, get, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, grouped, grouped, grouped, grouped, grouped, grouped, grouped, grouped, innerJoin, innerJoin, innerJoin, intersperse, intersperse, isEmpty, isNotEmpty, iterate, join, join, join, join, join, join, leftOuterJoin, leftOuterJoin, leftOuterJoin, limit, limit, limitUntil, limitUntil, limitUntilClosed, limitUntilClosed, limitWhile, limitWhile, limitWhileClosed, limitWhileClosed, map, mapToDouble, mapToInt, mapToLong, of, of, ofType, onClose, onEmpty, onEmptyGet, onEmptyThrow, parallel, partition, partition, peek, prepend, prepend, prepend, prepend, prepend, prepend, print, print, printErr, printOut, range, range, range, range, range, range, range, range, range, range, range, range, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, rangeClosed, remove, reverse, reverse, reverse, reverse, rightOuterJoin, rightOuterJoin, rightOuterJoin, scanLeft, scanLeft, scanLeft, scanLeft, scanRight, scanRight, scanRight, scanRight, seq, seq, seq, seq, seq, seq, seq, seq, seq, seq, seq, seq, seq, seq, sequential, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, skip, skip, skipUntil, skipUntil, skipUntilClosed, skipUntilClosed, skipWhile, skipWhile, skipWhileClosed, skipWhileClosed, slice, slice, sliding, sorted, sorted, sorted, sorted, splitAt, splitAt, splitAtHead, splitAtHead, spliterator, stream, take, toCollection, toList, toMap, toMap, toSet, toString, toString, transform, unfold, unordered, unzip, unzip, unzip, unzip, unzip, unzip, unzip, unzip, unzip, unzip, unzip, unzip, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, window, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zip, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipAll, zipWithIndex, zipWithIndex, zipWithIndex, zipWithIndexallMatch, anyMatch, builder, collect, collect, concat, findAny, findFirst, forEachOrdered, max, min, noneMatch, reduce, reduce, reduce, toArray, toArrayallMatch, anyMatch, avg, avg, avgDouble, avgInt, avgLong, bitAnd, bitAnd, bitAndInt, bitAndLong, bitOr, bitOr, bitOrInt, bitOrLong, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, collect, commonPrefix, commonSuffix, count, countDistinct, countDistinct, countDistinctBy, countDistinctBy, max, max, max, max, maxAll, maxAll, maxAll, maxAll, maxAllBy, maxAllBy, maxBy, maxBy, median, median, medianBy, medianBy, min, min, min, min, minAll, minAll, minAll, minAll, minAllBy, minAllBy, minBy, minBy, mode, modeAll, modeAllBy, modeBy, noneMatch, percentile, percentile, percentileBy, percentileBy, sum, sum, sumDouble, sumInt, sumLong, toCollection, toList, toList, toMap, toMap, toSet, toSet, toString, toStringdefault ReactiveSeq<T> removeAll(java.util.stream.Stream<? extends T> stream)
IterableFilterableremoveAll in interface IterableFilterable<T>removeAll in interface org.jooq.lambda.Seq<T>stream - of elements to removedefault ReactiveSeq<T> removeAll(java.lang.Iterable<? extends T> it)
IterableFilterableremoveAll in interface IterableFilterable<T>removeAll in interface org.jooq.lambda.Seq<T>it - an Iterable of elements to removedefault ReactiveSeq<T> removeAll(org.jooq.lambda.Seq<? extends T> seq)
removeAll in interface org.jooq.lambda.Seq<T>default ReactiveSeq<T> removeAll(T... values)
IterableFilterableremoveAll in interface IterableFilterable<T>removeAll in interface org.jooq.lambda.Seq<T>values - to removedefault ReactiveSeq<T> retainAll(java.lang.Iterable<? extends T> it)
IterableFilterableretainAll in interface IterableFilterable<T>retainAll in interface org.jooq.lambda.Seq<T>it - Iterable of elements to retaindefault ReactiveSeq<T> retainAll(org.jooq.lambda.Seq<? extends T> seq)
retainAll in interface org.jooq.lambda.Seq<T>default ReactiveSeq<T> retainAll(java.util.stream.Stream<? extends T> stream)
IterableFilterableretainAll in interface IterableFilterable<T>retainAll in interface org.jooq.lambda.Seq<T>stream - of elements to retaindefault ReactiveSeq<T> retainAll(T... values)
IterableFilterableretainAll in interface IterableFilterable<T>retainAll in interface org.jooq.lambda.Seq<T>values - elements to retaindefault ReactiveSeq<T> filterNot(java.util.function.Predicate<? super T> fn)
Filterable
of(1,2,3).filter(i->i>2);
//[1,2]
filterNot in interface Filterable<T>fn - to filter elements by, retaining matchesdefault ReactiveSeq<T> notNull()
Filterable
of(1,2,null,4).nonNull();
//[1,2,4]
notNull in interface Filterable<T>default <U> ReactiveSeq<U> ofType(java.lang.Class<? extends U> type)
Filterable
// (1, 2, 3) ReactiveSeq.of(1, "a", 2, "b",3).ofType(Integer.class)
ofType in interface Filterable<T>ofType in interface org.jooq.lambda.Seq<T>ReactiveSeq<T> filter(java.util.function.Predicate<? super T> fn)
Filterable
of(1,2,3).filter(i->i>2);
//[3]
filter in interface Filterable<T>filter in interface org.jooq.lambda.Seq<T>filter in interface java.util.stream.Stream<T>fn - to filter elements by, retaining matches