Comments (3)
@Robbie-Palmer Sorry for lately reply, I just saw the message, welcome to ping me directly next time. This problem is expected, the existing get
method can only return the Object
type, and cannot directly return the primitive type. I think we can do two things to improve:
- Raise more friendly message if the
Class
is a primitiveClass
type. - We might provide a specific method to these primitive type, but I'm not sure if it's necessary because I think the boxed type support might be enough for our needs now.
from pemja.
An error message highlighting that primitive Class
types aren't supported would be great
I agree that boxed types should be enough
I've put up a PR to change the README usage example to use Integer
instead of int
from pemja.
Thanks a lot for the PR. I have merged the PR.
from pemja.
Related Issues (20)
- Recursive callbacks cause a deadlock HOT 12
- Please create an offiical Conda install package HOT 5
- Comparison vs DL4J / java-cpp HOT 3
- Incompatible with Official Python Docker Images: Failed to find libpython HOT 1
- Generic invokeMethod HOT 1
- Issue with Thread mode in Flink 1.16 and M1 HOT 1
- MainInterpreter implements Serializable but has non-serializable fields
- Can not import 'findClass' HOT 3
- Failed to find the function after exec HOT 1
- Can't install with python 3.10 HOT 3
- How to return a python numpy array to the Java side? The return type is java.util.List HOT 2
- Will you try to integrate Codon? HOT 1
- Is there a way to trigger a call from Python? HOT 1
- Failed to use pemja in Flink DataStream API
- Support Python 3.11 HOT 2
- 0.4.0 release has missing pom from maven central HOT 1
- Can pemja support JVM scheduling through PVM?
- Build pemja for arm64
- For developers, what tools can be used to develop multi-language projects like "pemja" on Mac?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pemja.