インターフェイスを実装したクラスのインスタンスを作成しようとしましたが、問題は、コンストラクターがインターフェイス自体であるパラメーターを受け取ることです。
情報: ライブラリEJMLが既に実装しているため、インターフェイス、クラス、または機能を自分で実装したくありません。クラスと関数を使用したいだけです。
public class myMatrixFactory{
public void do(){
//Does not work because LinearSolver_B64_to_D64() needs a interface as parameter
// parameter is LinearSolver<BlockMatrix64F> which is an interface
LinearSolver_B64_to_D64 ls = new LinearSolver_B64_to_D64(????);
}
}