Hi, Am 26.07.2009 um 22:45 schrieb eyeris:
I want to implement ISeq to provide a sequence over an Excel file. I plan to implement it in Java. I see that Range extends ASeq for its default implementation of cons() and more(). Is extending ASeq the recommended way to implement a sequence?
Yes. The recommended way to implement a seq is to extend ASeq and implement first() and more(). (The other methods are optional, but it might be interesting to exploit some structure of your data to provide faster versions. YMMV) Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature