标签: java generics
如果我有通用类
说,我需要找出该类输入的内容..我该怎么做?
class Stack<T>{ public String getType(){ // what can i write here to get the class name of T ? } }