Add TypeInt for Specifying Integer Variant from Python to Java
This PR addresses issue #374. It provides a way for users to specify how they would like Python integers to be converted into Java (whether to treat them like an int, short, or long). This PR currently only adds an integer and long variant, since Py4J does not have general support for shorts.
Do you have some recommendations for tests? I was thinking of adding a a test to java_array_test.py of creating arrays using TypeInt, and maybe some basic examples of communicating from Python to Java. Are there any good examples of tests that do that?
Also, what do you mean by "other type hints"?
@HyukjinKwon What needs to be done with this PR to get it merged?