Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 8 months agoIs this a Nut?media.gehirneimer.deimagemessage-square175fedilinkarrow-up11.31K
arrow-up11.31KimageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 8 months agomessage-square175fedilink
minus-squaresteeznson@lemmy.worldlinkfedilinkarrow-up8·8 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?