java-interop
clojure -- name conflicts in a defined record?
I have a misbehaving piece of code; when I name a record MethodInfo, it no longer overrides the .toString method correctly.[详细]
2023-03-21 11:21 分类:问答Add constructor to deftype created class
For the purposes of interoperability with Java, I need a class that has a nullary construct开发者_运维百科or that performs initialization.[详细]
2023-03-16 05:43 分类:问答Can JNBridge be used under linux?
I have to consume some C# dll\'s under a linux host through java.Rewriting the code is currently not an option, and we can\'t expose the dll as a service because this linux server will exist in isolat[详细]
2023-03-16 05:21 分类:问答How do you refer to primitive Java types in Clojure?
I\'d like to use reflection to get a method of a Java object from Clojure. One of the argument types is a Java primitive and I don\'t know how to refer 开发者_如何学JAVAto them from Clojure.[详细]
2023-01-27 01:10 分类:问答Clojure's :gen-class and double arrays
I am attempting to :gen-class a fn which takes a 2D array of Doubles as input. I have already seen the post and solution here concerning a similar topic, but I am still unable to produce a working sol[详细]
2023-01-08 08:19 分类:问答How can I define a clojure type that implements the servlet interface?
I\'m attempting to use deftype (from the bleeding-edge clojure 1.2 branch) to create a java class that implements the java Servlet interface.I would expect the code below to compile (even though it\'s[详细]
2022-12-31 04:39 分类:问答How do I pull `static final` constants from a Java class into a Clojure namespace?
I am trying to wrap a Java library with a Clojure binding.One particular class in the Java library defines a bunch of static final constants, for example:[详细]
2022-12-26 03:10 分类:问答2022年哈尔滨商业大学寒假放假时间 哪天开始放假?
转眼间,半个多学期过去了,很多高校都发布了寒假放假时间表。我整理了哈尔滨商业大学2022年寒假的相关资料,供大家参考。[详细]
2022-12-16 21:59 分类:问答