Sjmarf to Programmer Humor@programming.dev • 1 year agoIs this a Nut?media.gehirneimer.deimagemessage-square128fedilinkarrow-up11.31Karrow-down120
arrow-up11.29Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf to Programmer Humor@programming.dev • 1 year agomessage-square128fedilink
minus-square@steeznson@lemmy.worldlinkfedilink5•1 year 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?