public class DefaultNutsStreams extends Object implements net.thevpc.nuts.spi.NutsStreams
| Constructor and Description |
|---|
DefaultNutsStreams(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSession() |
<T> net.thevpc.nuts.NutsStream<T> |
createEmptyStream() |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(Iterable<T> str,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> descr) |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(Iterator<T> str,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name) |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(net.thevpc.nuts.NutsIterable<T> str) |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(net.thevpc.nuts.NutsIterator<T> str) |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(Stream<T> str,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name) |
<T> net.thevpc.nuts.NutsStream<T> |
createStream(T[] str,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> descr) |
net.thevpc.nuts.NutsSession |
getSession() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
public DefaultNutsStreams(net.thevpc.nuts.NutsSession session)
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentpublic <T> net.thevpc.nuts.NutsStream<T> createStream(T[] str,
Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> descr)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createStream(net.thevpc.nuts.NutsIterable<T> str)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createStream(Iterable<T> str, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> descr)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createStream(Iterator<T> str, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createStream(net.thevpc.nuts.NutsIterator<T> str)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createStream(Stream<T> str, Function<net.thevpc.nuts.NutsElements,net.thevpc.nuts.NutsElement> name)
createStream in interface net.thevpc.nuts.spi.NutsStreamspublic <T> net.thevpc.nuts.NutsStream<T> createEmptyStream()
createEmptyStream in interface net.thevpc.nuts.spi.NutsStreamspublic void checkSession()
public net.thevpc.nuts.NutsSession getSession()
Copyright © 2022 vpc open source initiative. All rights reserved.