//: generics/SelfBoundingAndCovariantArguments.java // ©2015 MindView LLC: see Copyright.txt interface SelfBoundSetter> { void set(T arg); } interface Setter extends SelfBoundSetter {} public class SelfBoundingAndCovariantArguments { void testA(Setter s1, Setter s2, SelfBoundSetter sbs) { s1.set(s2); // s1.set(sbs); // Error: // set(Setter) in SelfBoundSetter // cannot be applied to (SelfBoundSetter) } } ///:~