SWIG (v1.3.29) generated C++ to Java Vector class not acting properly
The appropriate base type for wrapping std::vector in Java is java.util.AbstractList. Using java.util.Vector as a base would be odd because you’d end up with two sets of storage, one in the std::vector, and one in the java.util.Vector. The reason SWIG doesn’t do this for you though is because you can’t have AbstractList<double> in Java, it … Read more