
net.java.html.lib.node.stream.Stream Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.stream;
public class Stream extends net.java.html.lib.node.events.EventEmitter {
protected Stream(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(Stream.class);
}
@Override
public Stream create(java.lang.Object obj) {
return obj == null ? null : new Stream(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static Stream $as(java.lang.Object obj) {
return $AS.create(obj);
}
public T pipe(T destination, net.java.html.lib.Objs options) {
return (T)$Typings$.pipe$75($js(this), /* FirstTypeNode*/$js(destination), /* TypeLiteral*/$js(options));
}
public T pipe(T destination) {
return (T)$Typings$.pipe$76($js(this), /* FirstTypeNode*/$js(destination));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy