volatile、内存屏障/内存栅栏、Java是如何实现跨平台的、线程状态及转化html
transient 被transient修饰的变量不能序列化 http://www.cnblogs.com/lanxuezaipiao/p/3369962.html算法
LinkedList非线程安全安全
ArrayList是非线程安全的,效率高spa
Voctor是线程安全的,效率低.net
ArrayList适合查找,LinkedList适合增删线程
HashSet:非线程安全,查找快,存入HashSet的对象必须定义hashCode()htm
TreeSet:非线程安全,保存次序的Set,底层为树结构。使用它能够从Set中提取有序的序列对象
LinkedHashSet:非线程安全,具备HashSet的查询速度,且内部使用链表维护元素的顺序(插入的次序)。blog
HashMap非线程安全接口
HashTable线程安全
SortedMap有一个实现类:TreeMap非线程安全
Cookie和Session的区别 https://blog.csdn.net/axin66ok/article/details/6175522
Java中equals和hashCode方法详解 http://www.cnblogs.com/Qian123/p/5703507.html
Java中CAS算法