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