<div dir="ltr">Hi all<div><br></div><div>I'm realising I'm doing quite a lot of casts from Key in particular to Passages, etc.</div><div><br></div><div style>I was wondering if we could change some of our interfaces to be slightly more specific.</div>
<div style><br></div><div style>For example, PassageKeyFactory.instance().getKey() could return a Passage instead of a Key.</div><div style><br></div><div style>A Passage Iterator could return Verses</div><div style><br></div>
<div style>A range iterator could return ranges.</div><div style><br></div><div style>etc.</div><div style><br></div><div style>There are probably a few more...</div><div style><br></div><div style>Also, a more fundamental change, I was wondering if there is a reason for keeping the Verse hierarchy apart from the Passage hierarchy. For example, a Passage of size 1 is essentially a Passage (not suggesting we make all these changes now), but keen to understand why we have the difference.. </div>
<div style><br></div><div style>Chris</div><div style><br></div></div>