Top "Clojure-java-interop" questions

For topics related to interoperability between Clojure and Java

Calling clojure from java

Most of the top google hits for "calling clojure from java" are outdated and recommend using clojure.lang.RT to …

java clojure clojure-java-interop
Clojure: working with a java.util.HashMap in an idiomatic Clojure fashion

I have a java.util.HashMap object m (a return value from a call to Java code) and I'd like …

clojure interop hashmap purely-functional clojure-java-interop
Java and Clojure with Leiningen

Is it possible to easily manage and compile native Java classes alongside Clojure in a project using leiningen? I am …

java clojure integration leiningen clojure-java-interop
Why does Clojure have 5 ways to define a class instead of just one?

Clojure has gen-class, reify, proxy and also deftype and defrecord to define new class-like datatypes. For a language that values …

clojure clojure-java-interop
How to handle java variable length arguments in clojure?

I'am wrapping a java lib into clojure, but i have problems dealing with variable length arguments. Say, TestClass.aStaticFunction(Integer... …

clojure variadic-functions clojure-java-interop