<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[源创部落]]></title><description><![CDATA[开发之源创部落]]></description><link>https://blog.youkuaiyun.com/22cgreen</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; 22cgreen]]></copyright><item><title><![CDATA[程序执行耗时测试]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516525</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516525</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:36:00 +0800</pubDate><description><![CDATA[程序执行耗时测试1）实例化时第一次一般有几毫秒到几十毫秒。第二，或者加载过一次，二次一般不要时间。 2）测试连接数据库并执行一条select语句要400多毫秒 3）得到连接要390多毫秒 总结：发现数据连接是最毫时的操作，而执行查询等操作并不需要很多时间。 我在tomcat中用一个程序进行测试，不使用连接池用时都为47毫秒,不管怎样刷新这时间不变。 而用连接池后，用时15毫秒，多次刷新大多数都]]></description><category></category></item><item><title><![CDATA[方法重写]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516523</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516523</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:36:00 +0800</pubDate><description><![CDATA[当一个接口A，有B继承了A并实现了A的全部方法，C然后再继承B，然后重写了部分B的方法，当B实例化后附给A变量。 当A执行方法时，将是盖过后的方法。如果实例化的类没有相应的方法，将向上的父类找看有没有相应的方法。 一直找到最顶层。]]></description><category></category></item><item><title><![CDATA[关于javabean的一反射原理]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516521</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516521</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:35:00 +0800</pubDate><description><![CDATA[我们知道反射可以通过一个getter和setter方法得到相应属性的值，在struts测试中发现， struts只会把提供的属性转成get方法。而不会去检查这个属性是否真实存在。 如：我有一个 public String getLove() { return good; } 在标签中我们使用love属性一样可以得到值，只不过是good的值。 应用需求：这种应用是在有时我们要处理一个值时，如文件大小]]></description><category></category></item><item><title><![CDATA[java语法解析]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516518</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516518</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:34:00 +0800</pubDate><description><![CDATA[java语法解析1. 一个重写方法的实例的写法。 ////////////////////////////////////////////////////////////////////////////////////// new Thread(){    public void run(){     se.send();    }   }.start(); 上面的方法是表示实例化一个Thre]]></description><category></category></item><item><title><![CDATA[关于数据LinkedList的removefirst出错]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516514</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516514</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:33:00 +0800</pubDate><description><![CDATA[关于数据LinkedList的removefirst出错我有一段这样的代码: Java codeprivate LinkedList freeCon = new LinkedList(); public  Connection getConn() { Connection re = null; if(freeCon.size()>0) { try { re = freeCon.getFirst]]></description><category></category></item><item><title><![CDATA[ThreadLocal研究]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516512</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516512</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 18:32:00 +0800</pubDate><description><![CDATA[ThreadLocal研究我在hibernate工厂类中看到了关于ThreadLocal的使用，threadLocal显然是类变量，全局的 是否这样表示不同的线程共享了threadLocal，事实上没错，多个线程取得到是同一样threadLocal 但是在不同的线程中使用threadLocal得到的变量不一样。那么什么是同一线程呢，我们可以这样理解 线程是主线程创建分支线程调用类执行完再返回主]]></description><category></category></item><item><title><![CDATA[类是怎样被执行的研究]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/4516062</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/4516062</guid><author>22cgreen</author><pubDate>Thu, 03 Sep 2009 16:38:00 +0800</pubDate><description><![CDATA[1）类是以编译后的字节码.class类型存于硬盘或其它存储介质上.我们打开被编译的文件也能看出一些 东东,上面的部分看不懂,但从能看得懂的来分析有几下几点 1、class文件中，把(.)点号转成了(/)，也就是真实的路径。我们在类中定义private Pstring good; 在class中变为： good dlp/oa/pub/Pstring 很显然java文件在编译后，会把各此的属性配置全路]]></description><category></category></item><item><title><![CDATA[ 搜索引擎的设计思路(cgreen原创)]]></title><link>https://blog.youkuaiyun.com/22cgreen/article/details/276289</link><guid>https://blog.youkuaiyun.com/22cgreen/article/details/276289</guid><author>22cgreen</author><pubDate>Tue, 01 Feb 2005 13:07:00 +0800</pubDate><description><![CDATA[搜索引擎，最主要的是搜索速度，像百度、GOOGLE等大的搜索引擎，在上1000G可能上10000G的数据中怎样能得到想要的结果呢。====================================================冰雪儿个人作品主页 「www.yooice.com」Copyright 2001-2004 yooice.com all rights reserved 版权声明:本]]></description><category></category></item></channel></rss>