예제 #1
0
파일: form.java 프로젝트: fhitchen/sodium
 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;
 }
예제 #2
0
 public final Stream<A> then() {
   return Stream.filterOptional(Operational.value(oValue)).orElse(sDeliver).once();
 }