C ++和Java中的Set类 [英] The Set Class in C++ and Java
本文介绍了C ++和Java中的Set类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我熟悉C ++和Java中的Set Class;但是,我已经在C#中搜索类似于c ++或集合的容器,而不是在
java中搜索,但是找不到一个。
有人可以告诉我.NET内部的Set实现吗?
最好的问候
Dear all,
I''m familiar with the Set Class in C++ and Java; however, i have been
searching in C# for a similar container as in c++ or collection as in
java, but couldn''t find one.
Could some one tell me about the the Set implementation inside .NET?
Best regards
推荐答案
遗憾的是,Java Set类在C#中没有等价物。我做了,
然而,在这里遇到了一个优秀的Set类实现:
http://www.devhood.com/tools/tool_de...px?tool_id=174
-
HTH,
Kevin Spencer
Microsoft MVP
Software Composer > http://unclechutney.blogspot.com
观看时钟永不沸腾。
" coosa" < co ***** @ gmail.comwrote in message
news:11 ********************* @ k70g2000cwa.googlegro ups.com ...
There is no equivalent in C# for the Java Set class, unfortunately. I did,
however, come across an excellent implementation of a Set class here:
http://www.devhood.com/tools/tool_de...px?tool_id=174
--
HTH,
Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com
A watched clock never boils.
"coosa" <co*****@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.com...
亲爱的,
我熟悉C ++和Java中的Set类;但是,我已经在C#中搜索类似于c ++或集合的容器,而不是在
java中搜索,但是找不到一个。
有人可以告诉我.NET内部的Set实现吗?
最好的问候
Dear all,
I''m familiar with the Set Class in C++ and Java; however, i have been
searching in C# for a similar container as in c++ or collection as in
java, but couldn''t find one.
Could some one tell me about the the Set implementation inside .NET?
Best regards
>
Kevin Spencer写道:
Kevin Spencer wrote:
遗憾的是,Java Set类没有C#中的等价物。我做了,
然而,在这里遇到了一个优秀的Set类实现:
http://www.devhood.com/tools/tool_de...px?tool_id=174
-
HTH,
Kevin Spencer
Microsoft MVP
Software Composer > http://unclechutney.blogspot.com
观看时钟永不沸腾。
" coosa" < co ***** @ gmail.comwrote in message
news:11 ********************* @ k70g2000cwa.googlegro ups.com ...
There is no equivalent in C# for the Java Set class, unfortunately. I did,
however, come across an excellent implementation of a Set class here:
http://www.devhood.com/tools/tool_de...px?tool_id=174
--
HTH,
Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com
A watched clock never boils.
"coosa" <co*****@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.com...
亲爱的,
我熟悉C ++和Java中的Set类;但是,我已经在C#中搜索类似于c ++或集合的容器,而不是在
java中搜索,但是找不到一个。
有人可以告诉我.NET内部的Set实现吗?
最好的问候
Dear all,
I''m familiar with the Set Class in C++ and Java; however, i have been
searching in C# for a similar container as in c++ or collection as in
java, but couldn''t find one.
Could some one tell me about the the Set implementation inside .NET?
Best regards
我相信Set.cs链接 http://www.devhood.com/tools/ myDownload
破碎
I believe the Set.cs link http://www.devhood.com/tools/myDownload is
broken
" coosa" < co ***** @gmail.comaécritdansle message de news:
11 ******** @ c28g2000cwb.googlegroups。 com ...
|我相信Set.cs链接 http://www.devhood.com/tools/myDownload 是
|破碎
这个链接可以在这里工作,但是我不打算使用这个类,因为它不是
类型安全,集合中的项目是作为对象添加和删除。
Joanna
-
Joanna Carter [TeamB]
顾问软件工程师
"coosa" <co*****@gmail.coma écrit dans le message de news:
11**********************@c28g2000cwb.googlegroups. com...
| I believe the Set.cs link http://www.devhood.com/tools/myDownload is
| broken
The link works from here, but I wouldn''t bother using the class as it is not
typesafe at all, items in the set are added and removed as objects.
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer
这篇关于C ++和Java中的Set类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文