On Thu, Nov 6, 2008 at 7:05 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> I was checking IFn.java first but couldn't see the Comparator
> interface being listed there which made me writing my initial post.

This is a more convenient and reliable way to check inheritance:

(ancestors (class #()))

Cleaned up output:

#{#=clojure.lang.AFn
  #=clojure.lang.IFn
  #=clojure.lang.IObj
  #=clojure.lang.Obj
  #=java.io.Serializable
  #=java.lang.Object
  #=java.lang.Runnable
  #=java.util.Comparator
  #=java.util.concurrent.Callable}

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to