线程安全
线程安全列表
-
struts+spring面试题
1.strutsAction是不是线程安全的?如果不是,有什么方式可以保证Action的线程安全?如果是,说明原因2.MVC,分析一下struts是如何实现MVC的3.struts中的几个关键对象的作用(说... [线程安全]
-
Vector, ArrayList, HashTable, HashMap哪些是线程安全的,哪些不是
Vector and Hashtable are two collection classes that are inherently thread safe or synchronized; whereas, the classes ArrayList and HashMap are unsynchronized a... [线程安全]
-
Java里面StringBuilder和StringBuffer有什么区别
StringBuilder类是JDK 5.0引入的新的类, 实质上,StringBuffer是一个线程安全的StringBuilder, 如果只在同一个线程内对字符串进行操作, StringBuilder会更快一些, 如果是使用多线... [线程安全]