Le 9/16/13 7:59 PM, Kiran Ayyagari a écrit : > On Mon, Sep 16, 2013 at 5:25 PM, Emmanuel Lécharny <[email protected]>wrote: > > >> IMO, I think we should have the getValues() to return an iterator, and >> the getValue() method to returns either the single value or the first >> value if there are more than one. >> >> I still prefer to get a BTree(that gives us better control if we want to > search for a > value in BTree)
Except that it exposes the internal representation. If we want to change it later, that will also change the API... > otherwise why not return a cursor? (personally, the last preference) Cursor seems a good idea. At least it allows browing the element in both directions. Something to consider. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
