java - How is it possible to instantiate a CellList<String> object using a TextCell object as parameter for CellList<String> constructor? -


this how code looks in gwt javadoc mini tutorial:

textcell textcell = new textcell(); celllist<string> celllist = new celllist<string>(textcell); 

i ask because can’t see relationship between textcell , relationship celllist constructor requirements, therefore, cant see how textcell satisfies cellist requierments.

the celllist constructors are:

celllist(cell<t> cell) construct new celllist. celllist(cell<t> cell, celllist.resources resources) construct new celllist specified celllist.resources. celllist(cell<t> cell, celllist.resources resources, provideskey<t> keyprovider) construct new celllist specified celllist.resources , key provider. celllist(cell<t> cell, provideskey<t> keyprovider) construct new celllist specified key provider. 

my question aims understand how works, , if guys can tell me java or oop topic or explain in detail.

thank you.

textcell implements cell<string>: http://www.gwtproject.org/javadoc/latest/com/google/gwt/cell/client/textcell.html


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -