ephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 1 year agoParse, don’t validatelexi-lambda.github.ioexternal-linkmessage-square6linkfedilinkarrow-up146arrow-down12cross-posted to: programming@programming.dev
arrow-up144arrow-down1external-linkParse, don’t validatelexi-lambda.github.ioephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 1 year agomessage-square6linkfedilinkcross-posted to: programming@programming.dev
minus-squareFrostyPolicy@suppo.filinkfedilinkarrow-up2·1 year 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
Voidtype 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.