On Mar 22, 2008, at 4:21 AM, Stephan Koops wrote:
is it necessary to use the legacy datatype array?
Since when is an array a "legacy datatype"? (If this were C++ instead of Java, that question would have more merit.)
I think never the Series deals with arrays. What about returning Series<String>?
I prefer simpler APIs. Your suggestion means I have to understand what a Series is, why it's supposedly better than either an array or a Collection, and how I have to use it.
In Restlet, I don't even really understand what problem all the Wrapper classes solve, never mind Series. To me, it's a lot of code one either has to maintain or learn about for very little (if any) benefit. IMHO, Restlet should be a reference implementation of REST, not an exercise in how to tweak the Java collections API.
- Paul

