You are viewing a single thread.
View all comments 47 points
*
In Java, it’s not called the Crackable
interface.
It’s the Nuttable
interface.
42 points
5 points
Provided your method specifies a strongly bound type you can ensure that you get your nut.
void dischargeNut(T extends Nut) { ... }
7 points
3 points