When storing objects that are sorted by a Comparator, if the differences in the objects are not in the comparator the same version of the object is returned. I expected that the sorted bag would work like a DB table with a non-unique key -- ordered but duplicate only determined by Object.equals().
I have implemented this type of bag using a TreeMap of List. My implementation uses the Jena ExtendedIterator to make building the iterator() and array() methods easier.
Will attach the code.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira