码迷,mamicode.com
首页 >  
搜索关键字:datastructure    ( 155个结果
【DataStructure】Description and usage of queue
【Description】 A queue is a collection that implements the first-in-first-out protocal. This means that the only accessiable object in the collection in the first one that was inserted. The most commo...
分类:其他好文   时间:2014-08-10 21:43:10    阅读次数:236
【DataStructure】One of queue usage: Simulation System
Statements: This blog was written by me, but most of content  is quoted from book【Data Structure with Java Hubbard】  【Description】 This simulationillustrates objectoriented programming...
分类:其他好文   时间:2014-08-10 21:42:20    阅读次数:450
【DataStructure】The description and usage of Stack
A stack is collection that implements the last-in-first-out protocal.This means that the only access object in the collections is the last one thatwas inserted.The fundamental  operations of a stack a...
分类:其他好文   时间:2014-07-29 14:53:28    阅读次数:218
【DataStructure】 Five methods to init the List in java
Do you know how to init list in other way except for new object? The following will give you serveral tips. If having other great idea, you are welcome to share.  import java.util.ArrayList; import j...
分类:编程语言   时间:2014-07-22 14:37:43    阅读次数:211
【DataStructure】Charming usage of Set in the java
In an attempt to remove duplicate elements from list, I go to the lengths to take advantage of  methods in the java api. After investiagting the document of java api, the result is so satisfying that...
分类:编程语言   时间:2014-07-18 14:02:00    阅读次数:282
【DataStructure】A useful util class for reading and writing files
Faced with the upcoming exam, Some useful methods referred to file operation drew tremenous attention. Now I make a summary to reading file. import java.io.BufferedReader; import java.io.BufferedWri...
分类:其他好文   时间:2014-07-18 12:26:25    阅读次数:274
【DataStructure】The description of generic collections
In this blog, generic collections will be talked about  in details.  In the past bacause of shortage of generic argument,  less importance has been attached to the this module. Just now after readin...
分类:其他好文   时间:2014-07-15 12:45:00    阅读次数:253
【DataStructure】The difference among methods addAll(),retainAll() and removeAll()
In the Java collection workframe, there are three similar methods, addAll(),retainAll() and removeAll().  addAll(), the retainAll(), and the removeAll()methods are equivalent to the set theoretic unio...
分类:其他好文   时间:2014-07-13 16:43:15    阅读次数:268
【DataStructure】The description of Java Collections Framework
The Java Connections FrameWork is a group of class or method and interfacs in the java.util package. Its main purpose is to provide a unified framework for implementing common data structure. A collec...
分类:编程语言   时间:2014-07-13 13:43:20    阅读次数:218
【DataStructure】Some useful methods about linkedList(二)
Method 1: Add one list into the other list. For example, if list1is {22, 33, 44, 55} and  list2 is {66, 77, 88, 99},then append(list1, list2)will change list1to {22, 33, 44, 55, 44, 66, 77, 88, 99}. ...
分类:其他好文   时间:2014-07-08 16:18:22    阅读次数:196
155条   上一页 1 ... 13 14 15 16 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!