[jsword-devel] equals() in Passage

Chris Burrell chris at burrell.me.uk
Mon Jul 1 08:01:28 MST 2013


Hi

I'm assuming the "equals" method in the AbstractPassage doesn't take
account of versification issues and therefore isn't correct at the moment.

A second thing I notice is that a Passage iterator gives us Verses, but
that's not very handy for comparing them with Passages as they have
different equals() and hashcode().

I'm writing some of the stuff up to map from one versification to another,
inspired from Martin's solution. I'm thinking of aligning equals &
hashcode() between a Passage and a Verse if the cardinality of the Passage
is 1.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130701/f7e1b933/attachment.html>


More information about the jsword-devel mailing list