Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoIs this a Nut?media.gehirneimer.deimagemessage-square128linkfedilinkarrow-up11.32K
arrow-up11.32KimageIs this a Nut?media.gehirneimer.deSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square128linkfedilink
minus-squaresteeznson@lemmy.worldcakelinkfedilinkarrow-up8·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?