I don't have looked at the GEOS hierarchy implementation, but it seems you're right.<br><br>giovanni<br><br><div class="gmail_quote">2011/7/8 Maxime van Noppen <span dir="ltr"><<a href="mailto:maxime@altribe.org">maxime@altribe.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 07/08/2011 01:33 PM, G. Allegri wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Java permits multiple inheritance only on interfaces, so we don't have<br>
the diamond problem since only one method implementation is admitted.<br>
</blockquote>
<br></div>
Yes I understand that. But after looking at your doc, AFAIKT the two hierarchies differ precisely on the diamond. In geos there's an inheritance link between Puntal and Geometry whereas in JTS Puntal is just an interface, and therefore there are no diamonds.<br>
<br>
In geos there is:<br>
<br>
Geometry<br>
|<br>
+------- Puntal<br>
| |<br>
| |<br>
Point--------+<br>
<br>
In JTS:<br>
<br>
Geometry<br>
|<br>
| Puntal<br>
| |<br>
| |<br>
Point--------+<br>
<br>
<br>
Please correct me if I'm missing something here.<div><div></div><div class="h5"><br>
<br>
-- <br>
Maxime<br>
______________________________<u></u>_________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/geos-devel</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>