If you look at the
else strassenMatrixMultiplication(A,B); return C;
Nothing is being done with the result of
P# = future#.get()'s are
A few general remarks:
- Variable names should be lower case in Java, uppercase implies Objects.
- Always use
}in if/else statements and loops to improve readability and avoiding mistakes, even if it's only one line.
- When you have to declare 7 different P's you're probably hard coding too much (and should use collections), although in this particular case it might make it easier to follow. Keep it in mind though.