[geos-devel] Node invariant

strk at refractions.net strk at refractions.net
Fri Apr 7 11:49:00 EDT 2006


I'm debugging memory instabilities in GEOS
and came to a question about Node.

Node constructor in JTS takes an EdgeEndStar
argument and assigns to this.edges.

Later on, this.edges is used as a fully
constructed object [ see Node#add(EdgeEnd) ]

Does this mean that the given EdgeEndStar
*must* be NOT NULL ? Or should Node#add(EdgeEnd)
check for it ? Or isn't there anything such
a NULL object in Java ?

--strk; 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the geos-devel mailing list