Sjmarf to Programmer [email protected] • 4 months agoIs this a Nut?media.gehirneimer.deimagemessage-square130fedilinkarrow-up11.29Karrow-down120
arrow-up11.27Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf to Programmer [email protected] • 4 months agomessage-square130fedilink
minus-square@[email protected]linkfedilink5•4 months agoProvided your method specifies a strongly bound type you can ensure that you get your nut. void dischargeNut(T extends Nut) { ... }
Provided your method specifies a strongly bound type you can ensure that you get your nut.
void dischargeNut(T extends Nut) { ... }
strongly bound you say?