<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>星河天山 &#187; JAVA</title>
	<atom:link href="http://www.frankdu.com/blog/archives/category/java/feed" rel="self" type="application/rss+xml" />
	<link>http://www.frankdu.com/blog</link>
	<description>stay foolish, stay hungry</description>
	<lastBuildDate>Thu, 17 Jun 2010 21:54:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java Concurrent Classes</title>
		<link>http://www.frankdu.com/blog/archives/433#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=java-concurrent-classes</link>
		<comments>http://www.frankdu.com/blog/archives/433#comments</comments>
		<pubDate>Thu, 17 Jun 2010 18:42:48 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/?p=433</guid>
		<description><![CDATA[注：本文是自己使用的快速索引，不提供任何别的信息。
Collections
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
CopyOnWriteArrayList
CopyOnWriteArraySet
ConcurrentMap, ConcurrentHashMap
Queue
&#8212;&#8212;&#8212;&#8212;&#8212;
ArrayBlockingQueue
LinkedBlockingQueue
PriorityBlockingQueue
DelayQueue &#038; Delayed
SynchronousQueue
Semaphore
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
control access to the a limited number of resources. Two important methods: acquire() and release(). Think about the PV operations in operation systems.
CyclicBarrier
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
To synchronize the operations from stage to stage.
 &#8211; await(),
 &#8211; number of participants
CountDownLatch
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
Block threads until the counter reaches 0.
Exchanger
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
Exchange data between 2 threads.
Future &#038; FutureTask
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
They can represent the progress [...]]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/433/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>青花瓷视频·Java版</title>
		<link>http://www.frankdu.com/blog/archives/402#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=%25e9%259d%2592%25e8%258a%25b1%25e7%2593%25b7%25e8%25a7%2586%25e9%25a2%2591%25c2%25b7java%25e7%2589%2588</link>
		<comments>http://www.frankdu.com/blog/archives/402#comments</comments>
		<pubDate>Wed, 30 Dec 2009 22:57:20 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[开怀一笑]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/?p=402</guid>
		<description><![CDATA[觉得有必要分享一下该视频，写歌词的肯定不是方文山，但肯定是个JAVA高手：

]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/402/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>怪怪的do-while循环语法</title>
		<link>http://www.frankdu.com/blog/archives/391#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=%25e6%2580%25aa%25e6%2580%25aa%25e7%259a%2584do-while%25e5%25be%25aa%25e7%258e%25af%25e8%25af%25ad%25e6%25b3%2595</link>
		<comments>http://www.frankdu.com/blog/archives/391#comments</comments>
		<pubDate>Thu, 05 Nov 2009 16:24:21 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/?p=391</guid>
		<description><![CDATA[在尝试写lexer/parser，注意到我们经常写的循环语句，比如do-while，还有乖乖的语法：



&#160;


&#160;


int i=0;


&#160;


while&#40;i&#60;10&#41;


System.out.println&#40;&#34;Line: &#34; + &#40;i++&#41;&#41;;


&#160;


do


System.out.println&#40;&#34;Line: &#34; + &#40;i++&#41;&#41;;


while&#40; i&#60; 20&#41;;


&#160;


&#160;



第一个while循环不奇怪，循环体只有一个语句。第二个对我来说，就有点怪怪的，以前从来没有见过如此的写法，一般都是包含在{}里面，以便阅读方便。看到Java语法支持单语句循环体，在Java里面尝试一下，果然！
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/391/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipse and OSGi on slug</title>
		<link>http://www.frankdu.com/blog/archives/361#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=eclipse-and-osgi-on-slug</link>
		<comments>http://www.frankdu.com/blog/archives/361#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:10:33 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/391</guid>
		<description><![CDATA[很不错的一篇文章，繁体中文的：
http://blog.extremepattern.com/articles/2006/09/20/eclipse-and-osgi
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/361/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipse简单笔记(3). Equinox &amp; OSGi</title>
		<link>http://www.frankdu.com/blog/archives/358#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=eclipse%25e7%25ae%2580%25e5%258d%2595%25e7%25ac%2594%25e8%25ae%25b03-equinox-osgi</link>
		<comments>http://www.frankdu.com/blog/archives/358#comments</comments>
		<pubDate>Fri, 12 Dec 2008 18:45:54 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/387</guid>
		<description><![CDATA[IBM开发者网站上的这个教程不错：
http://www.ibm.com/developerworks/cn/edu/os-dw-os-eclipse-osgi.html?ca=drs-cn-0828
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/358/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>elcipse简单笔记（2）</title>
		<link>http://www.frankdu.com/blog/archives/355#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=elcipse%25e7%25ae%2580%25e5%258d%2595%25e7%25ac%2594%25e8%25ae%25b0%25ef%25bc%25882%25ef%25bc%2589</link>
		<comments>http://www.frankdu.com/blog/archives/355#comments</comments>
		<pubDate>Mon, 08 Dec 2008 15:37:56 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/381</guid>
		<description><![CDATA[几个链接:
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/355/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eclipse简单笔记（1）</title>
		<link>http://www.frankdu.com/blog/archives/351#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=eclipse%25e7%25ae%2580%25e5%258d%2595%25e7%25ac%2594%25e8%25ae%25b0%25ef%25bc%25881%25ef%25bc%2589</link>
		<comments>http://www.frankdu.com/blog/archives/351#comments</comments>
		<pubDate>Tue, 25 Nov 2008 21:05:22 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/361</guid>
		<description><![CDATA[eclipse最基本的单位是插件plug-in。比插件粒度更大的是feature，一个feature可以包含多个插件。粒度更大的是产品product。
如果需要使用软件更新、自动更新功能，你的RCP程序可能会需要最后转到feature组成，feature是更新时的基本安装单位（IU，Installable Unit）。
一个基本的应用，习惯上至少分成三个插件，核心代码core、界面代码UI、帮助文件help。比如JDT就分为jdt.core, jdt.ui, jdt.help等。
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/351/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Equinox/p2 简单笔记</title>
		<link>http://www.frankdu.com/blog/archives/348#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=eclipse-equinoxp2-%25e7%25ae%2580%25e5%258d%2595%25e7%25ac%2594%25e8%25ae%25b0</link>
		<comments>http://www.frankdu.com/blog/archives/348#comments</comments>
		<pubDate>Mon, 17 Nov 2008 20:34:56 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/354</guid>
		<description><![CDATA[&#160;
1.&#160; 简介   从eclipse项目编译20080305开始，更新管理器（Update Manager）被一个新的软件安装系统 
取代了，也就是所谓的p2。 
2. p2用户界面   和更新管理器比较起来，界面改变并不算太大，但是用户交互流程改变还是不少的。有兴趣 
看它的用户界面，可以自己跑一下插件更新/安装，也可以访问网址   http://wiki.eclipse.org/Equinox_p2_Update_UI_Users_Guide
3. p2基础之目录结构   以前，用户一般直接把插件解压缩到plugins目录，在p2中如此原始的方法不再被支持，而是建议安装到dropins目录。插件分成两种：手动安装的、通过p2安装的。简单地说，手动安装的插件，可以手动删除；通过p2安装的插件，应该通过p2卸载。否则，可能会引起插件管理的混乱。 
一个典型的目录结构是：   clipse/    &#160;&#160;&#160; configuration/    &#160;&#160;&#160;&#160;&#160;&#160;&#160; config.ini    &#160;&#160;&#160; org.eclipse.equinox.simpleconfigurator/    &#160;&#160;&#160;&#160;&#160;&#160;&#160; bundles.info    &#160;&#160;&#160; dropins/    &#160;&#160;&#160; features/  [...]]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/348/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understand so-called Selection Service in eclipse</title>
		<link>http://www.frankdu.com/blog/archives/347#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=understand-so-called-selection-service-in-eclipse</link>
		<comments>http://www.frankdu.com/blog/archives/347#comments</comments>
		<pubDate>Tue, 04 Nov 2008 15:18:16 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/archives/353</guid>
		<description><![CDATA[An good article for understanding so-called selection service in eclipse is here:
Eclipse Workbench: Using the Selection Service
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/347/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A great tutorial for eclipse RCP development</title>
		<link>http://www.frankdu.com/blog/archives/336#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-great-tutorial-for-eclipse-rcp-development</link>
		<comments>http://www.frankdu.com/blog/archives/336#comments</comments>
		<pubDate>Tue, 07 Oct 2008 22:24:01 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.frankdu.com/blog/?p=341</guid>
		<description><![CDATA[A quick link here for my convenience:
http://www.vogella.de/articles/RichClientPlatform/article.html
]]></description>
		<wfw:commentRss>http://www.frankdu.com/blog/archives/336/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.310 seconds -->
