摘要: Spring - MVC处理过程:Following is the sequence of events corresponding to an incoming HTTP request toDispatcherServlet:After receiving an HTTP request,Dis... 阅读全文
posted @ 2015-05-27 21:45 okay4321 阅读(125) 评论(0) 推荐(0) 编辑
摘要: import java.util.Stack;public class StackTest { public static void main(String[] args) { Stack stack = new Stack(); System.out.println("now the stac... 阅读全文
posted @ 2015-05-27 20:38 okay4321 阅读(172) 评论(0) 推荐(0) 编辑
摘要: HashSetdoesn’t maintain any kind of order of its elements.TreeSetsorts the elements in ascending order.LinkedHashSetmaintains the insertion order. Ele... 阅读全文
posted @ 2015-05-27 07:33 okay4321 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1 Vector的方法都是同步的(Synchronized),是线程安全的(thread-safe),而ArrayList的方法不是, 由于线程的同步必然要影响性能,因此,ArrayList的性能比Vector好。2 当Vector或ArrayList中的元素超过它的初始大小时, Vector会... 阅读全文
posted @ 2015-05-27 07:04 okay4321 阅读(116) 评论(0) 推荐(0) 编辑