On Wed, Feb 10, 2016 at 8:43 AM, Adrian Cooley <[email protected]>
wrote:
>
> How does clojure deal with an ArrayList that is being passed into clojure
> from java?
>

The trick is to not think in terms of specific classes, but in terms of the
different Java-related things you can do.

See: http://clojure.org/reference/java_interop

Also, since java.util.ArrayList implements java.util.Iterable, the seq
function will accept it.

Hope that helps.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to