ephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 26 days agoParse, don’t validatelexi-lambda.github.ioexternal-linkmessage-square12fedilinkarrow-up180arrow-down13cross-posted to: programming@programming.dev
arrow-up177arrow-down1external-linkParse, don’t validatelexi-lambda.github.ioephemera@lemmy.blahaj.zone to Programming@programming.devEnglish · 26 days agomessage-square12fedilinkcross-posted to: programming@programming.dev
minus-squareFrostyPolicy@suppo.filinkfedilinkarrow-up5·26 days 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.