dimanche 4 janvier 2015

methods with Class?> as a parameter

I am looking for examples of methods that have a Class parameter.


Please point me to several functions from JDK or any other industrial library or frameworks.


More specifically, I need methods that have more that one parameter, meaning that their signatures should be something like this one:



returnType sutableMethod(Class<?> cls, something anatherParametr, ..)


If you have ever meet such a method in your practice, please leave a comment. Many thanks!






Aucun commentaire:

Enregistrer un commentaire