Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoIs this a Nut?media.gehirneimer.deimagemessage-square116linkfedilinkarrow-up110arrow-down10
arrow-up110arrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square116linkfedilink
minus-squaresteeznson@lemmy.worldlinkfedilinkarrow-up0·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?