ITeye博客

Java

共 2 篇文章

在eclipse中统一设置文件编码为UTF-8

1.window->preferences->Gerenal->Content Types 下的jsp,xml等 2.window->preferences->web->下的所有文件

2010-05-07 14:19 · Java

Initialization on demand holder idiom

This implementation is a well-performing and concurrent implementation valid in all versions of Java. The original implementation from Bill Pugh (see links below), based on the earlier work of Steve Quirk, has been modified to reduce the scope of LazyHolder.something to private and to make the fiel…

2010-05-05 13:46 · Java