Sjmarf to Programmer [email protected] • 2 years agoIs this a Nut?media.gehirneimer.deimagemessage-square129arrow-up11.31K
arrow-up11.29KimageIs this a Nut?media.gehirneimer.deSjmarf to Programmer [email protected] • 2 years agomessage-square129
minus-square@[email protected]linkfedilink5•2 years 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?