Integer内容比较
public static void main(String[] args){Integer a=30000;Integer b=30000;Integer c=30;Integer d=30;System.out.println(a.equals(b));System.out.println(a==b);System.out.println(a==30000);System.out.println(d.equals(c));System.out.println(d==c);System.out.println(c==30);}[@more@]运行结果为:truefalsetruetruetruetrue打印结果说明-128 到 127的数值,怎么比较都一样,其它的只有equals时才相等.Java自动装箱是对于从 -128 到 127 之间的信息值,它们在被装箱为对象数据后会在内存中被重用,也就是对于相同的值,返回的是同一
MathML:web嵌入数学公式
http://www.ibm.com/developerworks/cn/xml/x-mathml/[@more@]
网络编辑器FCKeditor和网络公式编辑器WebEQ结合使用
再战FCKeditor。终极PK FCKeditor。让FCKeditor和WebEQ联姻。FCKeditor是什么我就不忽悠了,最重要的是忽悠整合WebEQ到FCK里面去。FCK调侃为KFC(喜欢吃吗?),再来个变态强人的解释就是FCK = F*** C** K** 的缩写。哈哈 强吧。好了不扯了,开始忽悠了!主要的是分为两部分讲,第一部分:如何加入公式编辑器WebEQ这个插件到FCK? WebEQ怎么用?本篇文章来源于:开发学院 http://edu.codepub.com 原文链接:http://edu.codepub.com/2009/0504/3742.php[@more@]第二部分PK几下FCK的几个API和几个常见的Error吧?关于FCK的基本应用和改编见另外