什么类在BoofCV中代表什么?

编程入门 行业动态 更新时间:2024-10-24 21:29:54
本文介绍了什么类在BoofCV中代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

请说我只想知道 什么 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
-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

更多推荐

什么类在BoofCV中代表什么?

本文发布于:2023-11-25 02:40:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627994.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代表   BoofCV

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!