摘要: public class javaTest { public static void test(String ...strings){ for(String str: strings){ System.out.print(str + " "); } System.out.println(); } public static void main(String[] args){ test("a", "b", "c", "ddd"); test("a"); test("a 阅读全文
posted @ 2010-01-11 15:48 zhwj184 阅读(130) 评论(0) 推荐(0) 编辑
摘要: http://www.chinawebanalytics.cn/?p=161 阅读全文
posted @ 2010-01-06 14:26 zhwj184 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 1.在http://www.ej-technologies.com/download/jprofiler/files.html下载安装包文件,我下载的是jprofiler_windows_6_0_2_with_jre.exe安装包,2.安装这个安装包,前提本地已经安装并配置好jre编译环境;3.安装完之后在开始菜单打开jprofile,打开界面如下4.点击打开session->New Session, working direction是设置工作目录,Main class or Excutetable Jar是设置要执行的java类或者jar包java File Path是把一些包加入环 阅读全文
posted @ 2010-01-05 19:02 zhwj184 阅读(166) 评论(0) 推荐(0) 编辑
摘要: http://youjavait.com/ 阅读全文
posted @ 2010-01-04 22:08 zhwj184 阅读(174) 评论(0) 推荐(0) 编辑
摘要: /** * ==号是比较两个基本类型是否相等,或者比较两个对象引用是否相同*/ public class T { public static void main(String[] args) { Integer i1 = 128; Integer i2 = 128; int i3 = 128; int i4 = 128; Integer i5 = 127; Integer i6 = 127; Long long1 = 128L; Long ... 阅读全文
posted @ 2010-01-04 21:33 zhwj184 阅读(99) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?><!-- charts/BasicSeriesSlideEffect.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses1:ArrayCollection=new ArrayCollection 阅读全文
posted @ 2009-12-31 16:03 zhwj184 阅读(172) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?><!-- charts/StandardEffectTriggers.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; import mx.effects.Fade; [Bindab 阅读全文
posted @ 2009-12-31 15:58 zhwj184 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?><!-- charts/DataPointAlert.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.controls.Alert; import mx.charts.events.ChartItemEvent; import mx.collections.ArrayCollection; [Bindable 阅读全文
posted @ 2009-12-31 15:45 zhwj184 阅读(123) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?><!-- charts/ColumnWithDropShadow.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:flash="flash.filters.*"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expense 阅读全文
posted @ 2009-12-31 15:14 zhwj184 阅读(164) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0"?><!-- charts/GradientFills.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <!--[CDATA[ import mx.collections.ArrayCollection; [Bindable] public var expenses:ArrayCollection=new ArrayCollection([{Expense 阅读全文
posted @ 2009-12-31 15:12 zhwj184 阅读(122) 评论(0) 推荐(0) 编辑