David Earl wrote: > My Java knowledge has let me down and I haven't been able to frame a > suitable Google query. Can someone tell me how in Java I test whether > some object is a subclass or superclass of some class (or other object)? > > I know how to ask if something is an instance of a particular class > (o.class() == C.class) but if o could be a subclass of c how do express > this?
if (o typeof c) ? Regards, Hakan -- The Key To Immortality Is First Living A Life Worth Remembering. _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
