﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-一磕一碰</title><link>http://www.blogjava.net/dericgit/</link><description>js/java</description><language>zh-cn</language><lastBuildDate>Wed, 06 May 2026 23:11:10 GMT</lastBuildDate><pubDate>Wed, 06 May 2026 23:11:10 GMT</pubDate><ttl>60</ttl><item><title>通过wait和notify实现的生产者消费者demo</title><link>http://www.blogjava.net/dericgit/archive/2012/12/04/392394.html</link><dc:creator>一磕一碰</dc:creator><author>一磕一碰</author><pubDate>Tue, 04 Dec 2012 02:06:00 GMT</pubDate><guid>http://www.blogjava.net/dericgit/archive/2012/12/04/392394.html</guid><wfw:comment>http://www.blogjava.net/dericgit/comments/392394.html</wfw:comment><comments>http://www.blogjava.net/dericgit/archive/2012/12/04/392394.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/dericgit/comments/commentRss/392394.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/dericgit/services/trackbacks/392394.html</trackback:ping><description><![CDATA[<div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;"><strong>Java代码 &nbsp;:</strong></div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">import java.util.ArrayList; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">import java.util.List; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">/**&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;* 通过wait和notify实现的生产者消费者demo&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;* User: zhangb&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;* Date: 12-12-1&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;* Time: 下午7:19&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;*/ &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">public class ProducerAndCustomerDemo { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; private static int capacity = 150; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; private static List&lt;String&gt; basket = new ArrayList&lt;String&gt;(capacity); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; public static void main(String[] args) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; // 多生产者与多消费者 &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; int producerSize = 2; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; Thread[] ps = new Thread[producerSize]; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0, step = 500; i &lt; producerSize; i ++) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ps[i] = new Thread(new Producer((i) * step, (i+1) * step), "生产--&gt;线程--" + (i+1)); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ps[i].start(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; int customerSize = 10; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; Thread[] cs = new Thread[customerSize]; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; customerSize; i ++) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs[i] = new Thread(new Customer(), "消费线程--" + (i+1)); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs[i].start(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; // 等待生产线程结束并中断消费线程 &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; producerSize; i ++) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ps[i].join(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (InterruptedException e) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; customerSize; i ++) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs[i].interrupt(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; static class Producer implements Runnable { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; private int start; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; private int end; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; Producer(int start, int end) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.start = start; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.end = end; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp;&nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; @Override &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; public void run() { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (int i = start; i &lt; end; i ++) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; synchronized (basket) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (basket.size() == capacity) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basket.wait(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String p = " PRO" + i; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(Thread.currentThread().getName() + p); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basket.add(p); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basket.notifyAll(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thread.yield(); // 让出当前线程的执行权,有利于看出交替线程运行的效果 &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (InterruptedException e) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.printStackTrace(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; static class Customer implements Runnable { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; @Override &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; public void run() { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (true) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; synchronized (basket) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try{ &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (basket.size() == 0) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basket.wait(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(Thread.currentThread().getName() + basket.remove(0)); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basket.notifyAll(); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (InterruptedException e) { &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(Thread.currentThread().getName() + "退出"); &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break; &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">&nbsp; &nbsp; } &nbsp;</div><div style="color: #000066; font-size: medium; background-color: #ffffff; border: 0px; margin: 0px; font-family: Arial, 宋体; line-height: 25px;">} &nbsp;</div><img src ="http://www.blogjava.net/dericgit/aggbug/392394.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/dericgit/" target="_blank">一磕一碰</a> 2012-12-04 10:06 <a href="http://www.blogjava.net/dericgit/archive/2012/12/04/392394.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>