[geos-devel] Upgrading to geos 3.3.0 broke all our codebase !

Maxime van Noppen maxime at altribe.org
Fri Jul 8 07:59:41 EDT 2011


On 07/08/2011 01:33 PM, G. Allegri wrote:
> Java permits multiple inheritance only on interfaces, so we don't have
> the diamond problem since only one method implementation is admitted.

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.

In geos there is:

Geometry
    |
    +------- Puntal
    |          |
    |          |
  Point--------+

In JTS:

Geometry
    |
    |        Puntal
    |          |
    |          |
  Point--------+


Please correct me if I'm missing something here.

-- 
Maxime


More information about the geos-devel mailing list