public class DoComp0 extends DoComp
Constructor and Description |
---|
DoComp0(org.pcollections.PStack<DoBuilderModule.Entry> assigned) |
Modifier and Type | Method and Description |
---|---|
<T1> DoComp1<T1> |
anyM(AnyM<T1> o)
Add a AnyM as next nested level in the comprehension
|
<T1> DoComp1<T1> |
future(java.util.concurrent.CompletableFuture<T1> o)
Add a CompletableFuture as next nested level in the comprehension
|
<T1> DoComp1<T1> |
iterable(java.lang.Iterable<T1> o)
Add a Iterable as next nested level in the comprehension
|
<T1> DoComp1<T1> |
optional(java.util.Optional<T1> o)
Add a Optional as next nested level in the comprehension
|
<T1> DoComp1<T1> |
publisher(org.reactivestreams.Publisher<T1> o) |
<T1> DoComp1<T1> |
reader(Reader<?,T1> seq) |
<T1> DoComp1<T1> |
stream(java.util.stream.BaseStream<T1,?> o)
Add a Stream as next nested level in the comprehension
|
addToAssigned, createEntry, getAssigned, getOrgType, setAssigned, yieldInternal
public DoComp0(org.pcollections.PStack<DoBuilderModule.Entry> assigned)
public <T1> DoComp1<T1> iterable(java.lang.Iterable<T1> o)
Do
.filter( -> i1>5)
.yield( -> );
o
- Defines next level in comprehensionpublic <T1> DoComp1<T1> publisher(org.reactivestreams.Publisher<T1> o)
public <T1> DoComp1<T1> stream(java.util.stream.BaseStream<T1,?> o)
Do.add(stream)
.filter( -> i1>5)
.yield( -> );
o
- Defines next level in comprehensionpublic <T1> DoComp1<T1> optional(java.util.Optional<T1> o)
Do
.filter( -> i1>5)
.yield( -> );
o
- Defines next level in comprehensionpublic <T1> DoComp1<T1> future(java.util.concurrent.CompletableFuture<T1> o)
Do
.filter( -> i1>5)
.yield( -> );
o
- Defines next level in comprehension