Thank you. This was a good idea:
> So if your coworkers code just needs something iterable (for example),
you may
> not need to do any casting at all: just give him the vector.
On Sunday, October 4, 2015 at 9:39:36 PM UTC-4, Francis Avila wrote:
>
> Does he actually need a real arraylist,
Does he actually need a real arraylist, or will something fulfilling a
collection interface (Collection, Iterable, or List for example) be ok? Many
clojure types do not require any casting at all as long as the java code writes
to a collection interface and doesn't expect to be able to mutate th
My co-worker wrote an app in Java, which I call as a library within my own
app. His code is expecting an ArrayList, and up until now I've been handing
in an empty one like this:
accounts (java.util.ArrayList. 1000)
sentence-parse-response-map (.init instance-of-sentence-parser