I don't like it at all. There's no reason to copy-paste our way into
generics. If we can't use them, we can't use them.
On 7/23/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
We're thinking about how specific models (like for ListView) would look
like. Would could have an interface like:
We're thinking about how specific models (like for ListView) would look
like. Would could have an interface like:
public interface IListModel extends IDetachable
{
List getList(Component component);
void setList(final Component component, List list);
}
And force using that in ListViews.
I think our previous discussion was a bit misunderstood. I was not trying to
replace the imodel interface for the exact reason you mentioned below, what
I was trying to replace is the model object interface which is currently a
list. So instead of casting the model object to a list and retrieving
Igor Vaynberg wrote:
I think our previous discussion was a bit misunderstood. I was not trying to
replace the imodel interface for the exact reason you mentioned below, what
I was trying to replace is the model object interface which is currently a
list. So instead of casting the model object