CORE-JAVA
文章平均质量分 78
palmerma
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(Core-JAVA) HashMap, HashTable and HashSet
Hashtable是Dictionary的子类,HashMap是Map接口的一个实现类HashTable的应用非常广泛,HashMap是新框架中用来代替HashTable的类,也就是说建议使用HashMap,不要使用HashTable。可能你觉得HashTable很好用,为什么不用呢?这里简单分析他们的区别。1.HashTable的方法是同步的,HashMap未经同步,所以在多线程场合转载 2013-07-22 13:35:23 · 682 阅读 · 0 评论 -
(Core-JAVA) Deamon Thread 讲解
The daemon thread's life cycle is same with the life cycle of the application which starts this daemon thread. If the application finishes, daemon threads are terminated at the same time. An example f原创 2013-07-18 11:43:24 · 751 阅读 · 0 评论 -
(Core-JAVA) Deadlock Example
JAVA Deadlock example原创 2013-07-16 17:09:14 · 767 阅读 · 0 评论 -
(Core-JAVA) MySQL JAVA
Example of MySQL JAVA1. Download MySQL and run the server.2. Create one table in one database.3. Download JAVA jdbc jar, ex, mysql-connector-java-5.1.25, and import it in the JAVA project.原创 2013-06-15 20:39:22 · 602 阅读 · 0 评论 -
(Core-JAVA) WeakReference & SoftReference
WeakReference:import java.lang.ref.WeakReference;public class WeakReferenceTest { public static void main(String args[]) { Person personB = new Person("B"); WeakRefe原创 2013-05-13 16:18:49 · 565 阅读 · 0 评论 -
The Most Widely Used Java Libraries
The Most Widely Used Java Libraries 1. CoreApache Commons Lang – Apache’s library that provides a host of helper utilities for the java.lang API, such as String manipulation, object转载 2013-11-14 16:27:38 · 591 阅读 · 0 评论
分享