阅读背景:

根据输入参数确定返回类型

来源:互联网 

I'm trying to implement a generic configuration file parser and I'm wondering how to write a method in my class that is able to determine its return type, based on the type of an input parameter. Here's what I mean:I'm trying to implement a generic configuration




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: