Ejemplo n.º 1
0
 private VTextField(StreamLoop<String> sRemoteWrite, ValueOutput<String> outRemote, int width) {
   super(
       Stream.filterOptional(Operational.value(outRemote.value)),
       "",
       width,
       outRemote.value.map(oV -> oV.isPresent()));
   sRemoteWrite.loop(sUserChanges);
   this.cleanup = outRemote.cleanup;
 }
Ejemplo n.º 2
0
 public final Stream<A> then() {
   return Stream.filterOptional(Operational.value(oValue)).orElse(sDeliver).once();
 }