Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1382

Change the Cursor semantic for the next() and previous() methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5.4
    • None
    • None
    • None

    Description

      The next() and previous() method semantic is not what we should expect for a cursor. They should return an Objectt and not a status. That would help to get closer to the well known semantic of an iterator (even though the previous() method is not present in an Iterator).

      In other words, it should be possible to do a next() to get the object and get the cursor moved one step further, instead of doing a next() and get().

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: