Unless I'm overlooking something, there appears to be no straightforward
way to construct the CursorableLinkedList.CursorableSubList which lies
between two Cursors on the containing list. The proposal is to create
such a constructor.

One issue is that there doesn't seem to be any simple way to determine
which cursor precedes the other, short of the obvious list traversal. (I
do see a somewhat complicated way to do this.) For my current purposes
it would be sufficient to have methods that return the sublist before or
after the cursor, instead of the general-purpose constructor.

Note also that the existing sublist constructor (which uses list
indexes) can easily be implemented using the proposed new constructor.

Reply via email to