当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: ZE: 10pt; COLOR: #545454; FONT-F
 

 

 ·jboss ejb3.0 interceptor     »显示摘要«
    摘要: interceptor为拦截器,可以监听程序的整个程序或方法。从多个程序理解问题往往比较容易,我就在自己写的helloworld 程序的基础上增加了interceptor . 有如下几个程序:hello.java , hellolocal.java , helloremote.java , hellobean.java, tracinginterceptor.java client.java重点......
 ·j2se 5.0专题 之 语言特性     »显示摘要«
    摘要:j2se 5.0专题 之 语言特性 本文作者: 高宇翔(大胃) 1.1. 背景j2se(tm) 5.0正式发布至今已超过3个月的时间了,就在前不久,大概是在两周之前,sun又发布了更新过的jdk 5.0 update 1,改掉了一些第一个版本中出现的bug。 由于java社群等待这一从1.4向5.0版本升级已经有相当长的一段时间,大家都很关心5.0中有哪些值得关注的变化,于是blog的相关信息满......


Java String 的 equals() 方法可能的优化

jdk1.4, 1.5 的 string class 代码如下

【程序编程相关:DODS学习日记(五)

【推荐阅读:DODS学习日记(六)

【扩展信息:State模式在J2ME游戏设计中的应用

[code]

public final class string

    implements java.io.serializable, comparable<string>, charsequence

{

    /** the value is used for character storage. */

    private final char value[];

 

 

 

    /** the offset is the first index of the storage that is used. */

    private final int offset;

 

 

 

    /** the count is the number of characters in the string. */

    private final int count;

[/code]

 

 

 

[code]

    /**

     * initializes a newly created <code>string</code> object so that it

     * represents the same sequence of characters as the argument; in other

     * words, the newly created string is a copy of the argument string. unless


...   下一页
    摘要:1. 连接非常慢, 连接成功后执行select操作出现异常: exception in thread "main" java.sql.sqlexception: ora-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [], [], [], [], [], [] 解决: 使用oracle安装目录下的jdbc\lib\classes12.jar后正常.......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE