java容器的一习题!!初学者!

pangxie887 pangxie887 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
初学请教~~
一java容器,Array Implementation 的习题~~~

ps:初学者,又在国外学习,不要人身攻击!!!
自己写了点~~但是还是晕晕的~~~谁有时间帮忙写看看,给偶学习一下~~

The interface that you will be implementing is a bag (or multiset) collection used for
storing a set of objects—including duplicates.
The collection will be called a “rank” bag, as it will have some additional methods
for accessing the smallest, second-smallest, and kth-smallest item stored in it. Your
implementation for part 1:
will implement the RankBag interface in the RankBagArray class;
will use an unsorted array for storing the objects; and
will not use any built-in collections to work with the objects (with the exception of
the uniqueSet() method).





附件如下~
http://www.javatx.cn/upfiles/club/20099/2009091402284953380.zip
...全文

相关推荐

评论 23
收藏 已收藏
分享
返回顶部
pangxie887
Java SE 62,621 成员 307,251 内容