Sjmarf to Programmer [email protected] • 1 year agoIs this a Nut?media.gehirneimer.deimagemessage-square127fedilinkarrow-up11.26K
arrow-up11.26KimageIs this a Nut?media.gehirneimer.deSjmarf to Programmer [email protected] • 1 year agomessage-square127fedilink
minus-square@[email protected]linkfedilink48•edit-21 year agoIn Java, it’s not called the Crackable interface. It’s the Nuttable interface.
minus-square@[email protected]linkfedilink7•1 year agoProvided your method specifies a strongly bound type you can ensure that you get your nut. void dischargeNut(T extends Nut) { ... }
In Java, it’s not called the
Crackable
interface.It’s the
Nuttable
interface.How do I know if something is
Nuttable
?Actually it’s
AbstractNutAndShellsFactory
Provided your method specifies a strongly bound type you can ensure that you get your nut.
strongly bound you say?