Menu

#15 about Pagination.Results

open
nobody
None
5
2007-07-27
2007-07-27
wason
No

I think it would be better if make Pagination.Results as an interface instead of a class.
public interface Results
{
int getSize();
List getList();
}
For reason as follows:
1.i can add an annotation to List's element,so that there is no warning message from gwt compiling.
2.i can add extra methods to Results easily by subclassing it.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.