本文介绍了什么类在BoofCV中代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
-SA
You simply did not bother to lean what generics are. You are looking in a wrong way. You cannot file the definition of T, because this is no a type provided by the library, this is a type which should be provided by its user.
Please read and learn a bit:
en.wikipedia/wiki/Generic_programming[^],
en.wikipedia/wiki/Generic_programming#Generics_in_Java[^],
java.sun/j2se/1.5/pdf/generics-tutorial.pdf[^].
—SA
请说我只想知道 什么 Class< T> 代表BoofCV库? i know Class<> 代表java中的Generics 但是在我阅读了Boofcv库的文档之后我没有找到任何对T i使用来自boofcv库的代码 github/lessthanoptimal/BoofCV/blob/ v0.13 / examples / src / boofcv / examples / ExampleInterestPoint.java 问候。
Kindly I just want to know what Class<T> stands for in BoofCV library? i know that Class<> stands for Generics in java but after i read the documentation of Boofcv library i didn't find any defination for T i use this code from boofcv library github/lessthanoptimal/BoofCV/blob/v0.13/examples/src/boofcv/examples/ExampleInterestPoint.java Regards.
推荐答案你根本不愿意依赖于什么是泛型。你看错了路。您无法提交 T 的定义,因为这不是库提供的类型,这是一种应由其用户提供的类型。 请阅读并学习一下: http:// en .wikipedia / wiki / Generic_programming [ ^ ] , en.wikipedia/wiki/Generic_programming#Generics_in_Java [ ^ ], java.sun/j2se/1.5/pdf/generics-tutorial.pdf [ ^ ]。 b $ b
更多推荐
什么类在BoofCV中代表什么?
发布评论