public class DoComp4<T1,T2,T3,T4> extends DoComp
Constructor and Description |
---|
DoComp4(org.pcollections.PStack<DoBuilderModule.Entry> assigned,
java.lang.Class orgType) |
Modifier and Type | Method and Description |
---|---|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(AnyM<T5> o)
Add a AnyM as next nested level in the comprehension
|
<T5 extends java.lang.String> |
add(java.io.BufferedReader o)
Add a BufferedReader as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.concurrent.Callable<T5> o)
Add a Callable as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,java.lang.Character> |
add(java.lang.CharSequence seq) |
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.Collection<T5> o)
Add a Collection as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.concurrent.CompletableFuture<T5> o)
Add a CompletableFuture as next nested level in the comprehension
|
<T5 extends java.lang.String> |
add(java.io.File o)
Add a File as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.lang.Iterable<T5> o)
Add a Iterable as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.Iterator<T5> o)
Add a Iterator as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.Optional<T5> o)
Add a Optional as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(ReactiveSeq<T5> o)
Add a TraversableM as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(Reader<?,T5> seq) |
<T5> DoComp5<T1,T2,T3,T4,T5> |
add(java.util.function.Supplier<T5> o)
Add a Supplier as next nested level in the comprehension
|
<T5 extends java.lang.String> |
add(java.net.URL o)
Add a URL as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
addBaseStream(java.util.function.Supplier<java.util.stream.BaseStream<T5,?>> o)
Add a Stream as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
addStream(java.util.function.Supplier<java.util.stream.Stream<T5>> o)
Add a Stream as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
addValues(T5... values) |
DoComp4<T1,T2,T3,T4> |
filter(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.lang.Boolean>>>> f)
Filter data
|
DoComp5<T1,T2,T3,T4,java.lang.Integer> |
times(int o) |
<T5> DoComp5<T1,T2,T3,T4,T5> |
withAnyM(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,AnyM<T5>>>>> f)
Add a AnyM as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withBaseStream(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.stream.BaseStream<T5,?>>>>> f)
Add a BaseStream as next nested level in the comprehension
|
<T5 extends java.lang.String> |
withBufferedReader(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.io.BufferedReader>>>> f)
Add a BufferedReader as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withCallable(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.concurrent.Callable<T5>>>>> f)
Add a Callable as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withCollection(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Collection<T5>>>>> f)
Add a Collection as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withCompletableFuture(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.concurrent.CompletableFuture<T5>>>>> f)
Add a CompletableFuture as next nested level in the comprehension
|
<T5 extends java.lang.String> |
withFile(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.io.File>>>> f)
Add a File as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withIterable(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.lang.Iterable<T5>>>>> f)
Add a Iterable as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withIterator(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Iterator<T5>>>>> f)
Add a Iterator as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withOptional(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Optional<T5>>>>> f)
Add a Optional as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withReader(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,Reader<?,? extends T5>>>>> f) |
<T5> DoComp5<T1,T2,T3,T4,T5> |
withStream(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.stream.Stream<T5>>>>> f)
Add a Stream as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withSupplier(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.function.Supplier<T5>>>>> f)
Add a Supplier as next nested level in the comprehension
|
<T5> DoComp5<T1,T2,T3,T4,T5> |
withTraversableM(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,ReactiveSeq<T5>>>>> f)
Add a TraversableM as next nested level in the comprehension
|
<T5 extends java.lang.String> |
withURL(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.net.URL>>>> f)
Add a URL as next nested level in the comprehension
|
<R> AnyMSeq<R> |
yield(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,? extends R>>>> f)
Execute and Yield a result from this for comprehension using the supplied function
e.g.
|
<R> AnyMSeq<R> |
yield(QuadFunction<? super T1,? super T2,? super T3,? super T4,? extends R> f) |
addToAssigned, createEntry, getAssigned, getOrgType, setAssigned, yieldInternal
public DoComp4(org.pcollections.PStack<DoBuilderModule.Entry> assigned, java.lang.Class orgType)
public <T5> DoComp5<T1,T2,T3,T4,T5> add(java.lang.Iterable<T5> o)
Do.add(iterable1).add(iterable2).add(iterable3).add(iterable4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.Iterator<T5> o)
Do.add(iterator1).add(iterator2).add(iterator3).add(iterator4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> addBaseStream(java.util.function.Supplier<java.util.stream.BaseStream<T5,?>> o)
Do.add(stream1).add(stream2).add(stream3).add(stream4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> addStream(java.util.function.Supplier<java.util.stream.Stream<T5>> o)
Do.add(stream1).add(stream2).add(stream3).add(stream4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.Optional<T5> o)
Do.add(optional1).add(optional2).add(optional3).add(optional4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.concurrent.CompletableFuture<T5> o)
Do.add(completablefuture1).add(completablefuture2).add(completablefuture3).add(completablefuture4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(AnyM<T5> o)
Do.add(anym1).add(anym2).add(anym3).add(anym4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(ReactiveSeq<T5> o)
Do.add(traversablem1).add(traversablem2).add(traversablem3).add(traversablem4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.concurrent.Callable<T5> o)
Do.add(callable1).add(callable2).add(callable3).add(callable4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.function.Supplier<T5> o)
Do.add(supplier1).add(supplier2).add(supplier3).add(supplier4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> add(java.util.Collection<T5> o)
Do.add(collection1).add(collection2).add(collection3).add(collection4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> add(java.io.File o)
Do.add(list1).add(list2).add(list3).add(list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> add(java.net.URL o)
Do.add(list1).add(list2).add(list3).add(list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> add(java.io.BufferedReader o)
Do.add(list1).add(list2).add(list3).add(list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
o
- Defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withReader(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,Reader<?,? extends T5>>>>> f)
public <T5> DoComp5<T1,T2,T3,T4,T5> withIterable(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.lang.Iterable<T5>>>>> f)
Do.with((Integer i1) -> iterable1).with((Integer i1)->(Integer i2) -> iterable2).with((Integer i1)->(Integer i2)->(Integer i3) -> iterable3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> iterable4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withIterator(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Iterator<T5>>>>> f)
Do.with((Integer i1) -> iterator1).with((Integer i1)->(Integer i2) -> iterator2).with((Integer i1)->(Integer i2)->(Integer i3) -> iterator3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> iterator4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withStream(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.stream.Stream<T5>>>>> f)
Do.with((Integer i1) -> stream1).with((Integer i1)->(Integer i2) -> stream2).with((Integer i1)->(Integer i2)->(Integer i3) -> stream3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> stream4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withBaseStream(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.stream.BaseStream<T5,?>>>>> f)
Do.with((Integer i1) -> stream1).with((Integer i1)->(Integer i2) -> stream2).with((Integer i1)->(Integer i2)->(Integer i3) -> stream3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> stream4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withOptional(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Optional<T5>>>>> f)
Do.with((Integer i1) -> optional1).with((Integer i1)->(Integer i2) -> optional2).with((Integer i1)->(Integer i2)->(Integer i3) -> optional3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> optional4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withCompletableFuture(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.concurrent.CompletableFuture<T5>>>>> f)
Do.with((Integer i1) -> completablefuture1).with((Integer i1)->(Integer i2) -> completablefuture2).with((Integer i1)->(Integer i2)->(Integer i3) -> completablefuture3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> completablefuture4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withAnyM(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,AnyM<T5>>>>> f)
Do.with((Integer i1) -> anym1).with((Integer i1)->(Integer i2) -> anym2).with((Integer i1)->(Integer i2)->(Integer i3) -> anym3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> anym4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withTraversableM(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,ReactiveSeq<T5>>>>> f)
Do.with((Integer i1) -> traversablem1).with((Integer i1)->(Integer i2) -> traversablem2).with((Integer i1)->(Integer i2)->(Integer i3) -> traversablem3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> traversablem4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withCallable(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.concurrent.Callable<T5>>>>> f)
Do.with((Integer i1) -> callable1).with((Integer i1)->(Integer i2) -> callable2).with((Integer i1)->(Integer i2)->(Integer i3) -> callable3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> callable4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withSupplier(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.function.Supplier<T5>>>>> f)
Do.with((Integer i1) -> supplier1).with((Integer i1)->(Integer i2) -> supplier2).with((Integer i1)->(Integer i2)->(Integer i3) -> supplier3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> supplier4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5> DoComp5<T1,T2,T3,T4,T5> withCollection(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.util.Collection<T5>>>>> f)
Do.with((Integer i1) -> collection1).with((Integer i1)->(Integer i2) -> collection2).with((Integer i1)->(Integer i2)->(Integer i3) -> collection3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> collection4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> withFile(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.io.File>>>> f)
Do.with((Integer i1) -> list1).with((Integer i1)->(Integer i2) -> list2).with((Integer i1)->(Integer i2)->(Integer i3) -> list3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> withURL(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.net.URL>>>> f)
Do.with((Integer i1) -> list1).with((Integer i1)->(Integer i2) -> list2).with((Integer i1)->(Integer i2)->(Integer i3) -> list3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <T5 extends java.lang.String> DoComp5<T1,T2,T3,T4,T5> withBufferedReader(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.io.BufferedReader>>>> f)
Do.with((Integer i1) -> list1).with((Integer i1)->(Integer i2) -> list2).with((Integer i1)->(Integer i2)->(Integer i3) -> list3).with((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> list4)
.filter((String i1)->(String i2)->(String i3)->(String i4) -> i1>5)
.yield((String i1)->(String i2)->(String i3)->(String i4) -> i1+i2+i3+i4);
f
- Gives access to current pointers and defines next level in comprehensionpublic <R> AnyMSeq<R> yield(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,? extends R>>>> f)
Do.add(list1).add(list2).add(list3).add(list4)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- To be applied to every element in the for comprehensionpublic <R> AnyMSeq<R> yield(QuadFunction<? super T1,? super T2,? super T3,? super T4,? extends R> f)
public DoComp4<T1,T2,T3,T4> filter(java.util.function.Function<? super T1,java.util.function.Function<? super T2,java.util.function.Function<? super T3,java.util.function.Function<? super T4,java.lang.Boolean>>>> f)
Do.add(list1).add(list2).add(list3).add(list4)
.filter((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1>5)
.yield((Integer i1)->(Integer i2)->(Integer i3)->(Integer i4) -> i1+i2+i3+i4);
f
- To be applied to every element in the for comprehension