当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:You can replace the type arguments required to invoke the constructor of a generic class with an empty set of type parameters () as long as the compiler can infer the type arguments from the context. This pair of angle brackets is informally called the diamond.是什么意思?

待解决 悬赏分:1 - 离问题结束还有
You can replace the type arguments required to invoke the constructor of a generic class with an empty set of type parameters () as long as the compiler can infer the type arguments from the context. This pair of angle brackets is informally called the diamond.
问题补充:

  • 匿名
2013-05-23 12:21:38
您可以替换来调用一个泛型类的构造函数有一个空的组类型参数( < > ),只要编译器可以从上下文推断类型参数所需要的类型参数。
  • 匿名
2013-05-23 12:23:18
您能替换类型论据要求祈求普通类的建设者与空集的类型参量(<>),只要编译器能推断从上下文的类型论据。这个对角括号非正式地称金刚石。
  • 匿名
2013-05-23 12:24:58
只要编译器能推断类型论据从上下文,您能替换类型要求的论据祈求普通 (类的) 建设者与类型参量<>空集。 这个对角括号不拘形式地称金刚石。
  • 匿名
2013-05-23 12:26:38
您可以替换,只要编译器可以推断类型参数从上下文调用一个空集 (<>) 的类型参数的泛型类的构造函数所需的类型参数。这双尖括号被非正式地称为钻石。
  • 匿名
2013-05-23 12:28:18
你可以接替被要求以一个空一套类型参数调用一节通用课的构造器的类型论点 (<>) 只要编译器可以推断从内容的类型论点。这个副角围住非正式地称为钻石。
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭