阅读背景:

类型不匹配:无法将MyClass 转换为MyClass

来源:互联网 

There is something I am missing about generics and/or inner classes. I want to write a specialized tree class, with a specialized iterator. How can class FooTree have an iterator that returns successive nodes of type FooTree rather than node values of type V? The class starts:There is something I am missing about generics




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

分享到: