ephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 8 months agoParse, don’t validatelexi-lambda.github.ioexternal-linkmessage-square6linkfedilinkarrow-up147arrow-down12cross-posted to: lobsters@lemmy.bestiver.seprogramming@programming.dev
arrow-up145arrow-down1external-linkParse, don’t validatelexi-lambda.github.ioephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 8 months agomessage-square6linkfedilinkcross-posted to: lobsters@lemmy.bestiver.seprogramming@programming.dev
minus-squareFrostyPolicy@suppo.filinkfedilinkarrow-up2·8 months agoYou do have a Void type in Java if you really must specify a return type and don’t want to return anything e.g. services and their tasks in JavaFx. The Task must have a return type thus you can use Void if the task doesn’t actually return anything.
You do have a
Void
type in Java if you really must specify a return type and don’t want to return anything e.g. services and their tasks in JavaFx. The Task must have a return type thus you can use Void if the task doesn’t actually return anything.