i tried to create a instance of a class that implemented an interface, but the problem is that the constructor takes a parameter which is the interface itself.
Information: I dont want to implement the interface, class or funcinality by myself, because the library EJML has implemented it already, i just want to use the class and the functions.
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(????);
}
}