私は、TとSがFooを拡張するMyClassのコンパレータを作成するために、MyClass<T, S>として定義されたクラスを持っています。 これを行うにはどうすればよいですか? 不成功の試み:上記の // Warning: The type parameter MyClass is hiding the type MyClass<T,S>
public class MyComparator<M
私はこのようなクラスを持っています。 // just followed the T, U, V...
public class Some<T...., U....> {
}
そして、このようなインスタンスメソッドを追加する必要があります。方法の // not a static method
// just followed from BiFunction<T, U, R>.cla