Hi ,
What can be the possible replacement for the instanceof check made while developing a cell tree, currently we are facing an issue because of it as we are using generics, i.e something like
public class GWTree<M> extends CellTree
{
///////// .................
//////////////,,,,,,,,,,,
if(value instanceof M) // which can never be done
{
do Something
}
How can we resolve this ?? Generics has to be implemented.
Thanks in Advance
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/epyzpFiONjQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment