搜索资源列表
java
- 1.根据一个已有的file c:\student.csv, 将所有学生数据读到一个ArrayList中.ArrayList中的元素类型是Student类型。 2.将得到的这个ArrayList按照小组号分组,构造一个HashMap。 Map的key是组号,value是一个ArrayList,这个arraylist中包含了所有在这个小组下的Student 3. 遍历这个HashMap,打印出每组下学生的学号。 注意,要求打印学号的除前3位其他的字符。比如学号为HSG1001,打印出来就是1
bbs
- package cn.com.chen.bbs.biz import java.util.ArrayList import cn.com.chen.bbs.vo.Topic public interface ITopicBiz { //根据版块ID获得所有主贴 ArrayList getTopicsBysid(int subBoardid) //根据帖子ID获得帖子信息 ArrayList getTopicBysid(i
suijishu
- 随机产生 20 个整数(10以内的),放入一个ArrayList中, 遍历这个ArrayList 并删除其中为 5 的数 再产生 3 个整数,插入到位置 4 处 把所有值为 1 的数都变成 10 -20 randomly generated integers (less than 10), into an ArrayList, iterate the ArrayList and remove the number 5 and then generate three integer
testpackage
- 实现简单的学生信息分类,用到了arraylist等已经封装好的类。-Simple classification of student information, use the arraylist, have already packaged class.
Carinfo
- 数组排序,应用java初级编程主要适合于初学者打好基础-sort arraylist
arryList-songfneg
- 数组排序,应用java初级编程主要适合于初学者打好基础-sort arraylist
Arrayandlist
- 比较数组、arraylist、linkedlist性能-compair the difference of array、arraylist、linkedlist
MovieStoreTester
- 音像店的出租电影业务,在实际应用中,可能会通过以下方式查找需要的电影: 通过标题(title)查找电影; 可将电影分成不同的类型(type),如喜剧片、悲剧片、战斗片等。因此在进行出租时,可在某一特定的类型中查找电影; 查找包括某一演员(actor/actress)的电影。 如果使用向量(Vector/ArrayList)来存储所有的电影,在查找的时候很浪费时间; 使用HashTable对电影进行有效存储,使得在需要时能够很快找到。 -Audio and video sh
ArrayList
- 数组实现列表程序,经典易懂,老师检验过的,-Classic procedure, a clear structure, the problem is novel
yank-
- 创建一个类Cat 包含属性name,在构造方法中进行初始化 添加一个方法show(),用以打印name属性的值 创建一个类CatTest,添加main方法,实现 创建一个ArrayList,向其中添加几个Cat对象 遍历该集合,并且对每个Cat对象调用show()方法-Create a kind of Cat Contains attribute name, in the constructor library Add a method show () to
luntandaima
- 修改TopicDao,使之能查询主题列表 修改ReplyDao,使之能查询回复列表 修改BoardDao,使之能查询版块Map 完成TopicDao实现类TopicDaoImpl实现功能,定义测试类,输出全部主题信息 完成ReplyDaoDao实现类ReplyDaoDaoImpl实现功能,定义测试类,输出所有回复信息 完成BoardDaoDao实现类BoardDaoImpl实现功能,定义测试类,输出所有板块及指定板块id的板块信息-Create a kind of Cat
ArrayLis
- 把1~10这10个整数按顺序存储在ArrayList中,然后ArrayList中遍历.-1 to 10 of 10 integers are stored sequentially in an ArrayList, and then traversing the ArrayLis
ArraylistComparator
- java的arraylist集合的自定义排序法。绝对经典-Java arraylist set custom ranking. Absolute classic
Animal
- 本程序 通过举例几种不同动物的不同属性,简单描述了java中arraylist的具体用法-The program through the example of the different attributes of several different animals, a brief descr iption of the specific usage of the arraylist in java
ExportExcel
- 可以实现将固定格式的arraylist导出到excel。功能齐全的java导出到excel类-The full-featured java export to excel class
ArrayList
- 关于员工信息的添加和删除,可以自由的添加和删除,以及浏览 但是不够完善。希望打大家多多包含-about clerk
DongTai
- 实现程序模拟简单的火车售票的情况。 火车票分为硬座和卧铺,车票还有普通票和学生票。有基类:ticker,子类:hardseat, sleeper。有孙类:normal, extra。hardseat, sleeper继承了ticker,而normal, extra分别都继承了hardseat和sleeper。 火车票上有起点站和终点站,时间,座位,价格。 顾客可以根据起点站和终点站查找所需的信息,可以买票。 管理人员可以增加,删除数据。可以把写入一个数据,查找一个数据,或删除一个
SetListPerformanceTest
- Java集合性能的简单测试。包括TreeSet、HashSet、LinkedHashSet、ArrayList、LinkedList-Java collections performance of a simple test. TreeSet, a HashSet, LinkedHashSet, ArrayList, the LinkedList
ZZ
- Java集合与泛型创建一个只能容纳String对象名为names的ArrayList集合-Java collections can only accommodate a generic create a String object named names of the ArrayList collection
linearlist
- 包含线性表的实现,包括ArrayList, LinkedList,Queue和Stack,虽然java有集合框架,但自己动手编写有助于理解数据结构-Contains the linear form, including ArrayList, LinkedList, Queue and Stack, although the java collections framework, but prepare yourself to help understand the data structure