Hi Paul,
> You can use List<Parameter> if you write more generic utility classes:
>
[...]
>
> The bonuses are:
>
> 1. The "Series" class doesn't "leak" into places that
> shouldn't have a
> dependency on it since you're using an ordinary List.
>
> 2. The solution above is completely generic and can be used for lots
> of other stuff.
>
> If you want, you can add other "Util" methods that are convenience
> methods to lessen typing.
You filter approach is nice and very flexible. However, if you call the
subList() method, I don't see how the Series class leaks, you can do this:
List<Parameter> fooParams = in.sublist("foo");
You still have the Restlet Parameter class dependency so you might still
prefer the new getValuesArray("foo") method anyway.
Best regards,
Jerome