What's the best practice when using generics with models that take some
object but return another type of object?

examples:
When you have a collection and need to convert it to a list for listview
purposes.
When you have some object and you need a wrapping model that creates some
string representation of the object - usually involving more objects  (so
you can't just use the "toString" or other getter of the object).

Reply via email to