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