<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: 关于Java中的synchronized和static synchronized和单件类	</title>
	<atom:link href="https://www.coder4.com/archives/3046/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com/archives/3046</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Wed, 18 Apr 2012 07:45:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: Jeoygin		</title>
		<link>https://www.coder4.com/archives/3046#comment-653</link>

		<dc:creator><![CDATA[Jeoygin]]></dc:creator>
		<pubDate>Wed, 18 Apr 2012 07:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.coder4.com/?p=3046#comment-653</guid>

					<description><![CDATA[对方法加synchronized修饰符，synchronized static等同于synchronized(Singleton.class){}，synchronized等同于synchronized(this){}
Effective Java书上说实现Singleton的最佳方法是这样的：
public enum Singleton {
    INSTANCE;
}]]></description>
			<content:encoded><![CDATA[<p>对方法加synchronized修饰符，synchronized static等同于synchronized(Singleton.class){}，synchronized等同于synchronized(this){}<br />
Effective Java书上说实现Singleton的最佳方法是这样的：<br />
public enum Singleton {<br />
    INSTANCE;<br />
}</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
