上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: if you use the {...} array form in anything but an initializer. WRONGprivate int[] foo() { int[] x = new Array[3]; x = {1,2,3}; return x; } RIGHTprivate int[] foo() { int[] x = {1,2,3}; return x; } ps:When using the initializers, an array must be declared, constructed and explicitly init... 阅读全文
posted @ 2010-06-19 16:39 0707 阅读(3438) 评论(0) 推荐(0) 编辑
摘要: http://deerchao.net/tutorials/regex/regex.htm 阅读全文
posted @ 2010-06-11 11:45 0707 阅读(116) 评论(0) 推荐(0) 编辑
摘要: <table border="1" bordercolor="#FF9966" ><tr><td width="102" style="border-right-style:none">隐藏右边框</td><td width="119" style="border-left-style:none">隐藏左边框</td></tr><tr><td style="bord 阅读全文
posted @ 2010-06-10 15:54 0707 阅读(1917) 评论(0) 推荐(0) 编辑
摘要: cellpaddingcellpadding 属性规定单元边沿与其内容之间的空白。从实用角度出发,最好不要规定 cellpadding,而是使用 CSS 来添加内边距。<table border="8" cellpadding="10"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr&g 阅读全文
posted @ 2010-06-10 15:52 0707 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 会计科目5大分类:1、资产类:增加记借方、减少记贷方2、负债类:增加记贷方、减少记借方3、所有者权益类:增加记贷方、减少记借方4、成本类:增加记借方、减少记贷方5、损益类:增加记借方、减少记贷方资金结算系统中各个业务分录的设置(总结)重要说明:1、结算中记的账是对于财务公司来说的2、内部账户对财务公司来说,属于负债类3、开户行对于财务公司来说属于资产类一、银行收款业务1、业务说明:结算中形成的银行收款业务对于财务公司来说,内部账户的金额增加,开户行的金额增加。2、形成的分录: 借:开户行 收款金额贷:活期内部账户收款金额二、银行付款业务1.业务说明:结算中形成的银行付款对于财务公司来说,内部账 阅读全文
posted @ 2010-06-03 08:57 0707 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1.一个线程就是一个对象,需要继承Thread类或者extends Runnable接口。其中public class Thread extends Object implements Runnable (两者的关系)创建新执行线程有两种方法。一种方法是将类声明为 Thread 的子类。该子类应重写 Thread 类的 run 方法class PrimeThread extends Thread { long minPrime; PrimeThread(long minPrime) { this.minPrime = minPrime; } public void run() { // com 阅读全文
posted @ 2010-06-01 16:13 0707 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1、synchronized关键字的作用域有二种: 1)是某个对象实例内,synchronized aMethod(){}可以防止多个线程同时访问这个对象的synchronized方法(如果一个对象有多个synchronized方法,只要一个线程访问了其中的一个synchronized方法,其它线程不能同时访问这个对象中任何一个synchronized方法)。这时,不同的对象实例的synchronized方法是不相干扰的。也就是说,其它线程照样可以同时访问相同类的另一个对象实例中的synchronized方法; 2)是某个类的范围,synchronized static aStaticMeth 阅读全文
posted @ 2010-06-01 14:53 0707 阅读(230) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; public class FileTest{ public static void main(String[] args){ scan("c:/file/ss"); } public static void scan(String path){ if(path ==null) return ; File file = new File(path); //生成一个新的虚拟文件路径 file.mkdirs... 阅读全文
posted @ 2010-05-19 18:30 0707 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Class aClass = Class.forName(xxx.xx.xx);Object anInstance = aClass.newInstance();Class.forName("").newInstance()返回的是objectbut there is some limit for this method to create instancethat is your class constructor should no contain parameters, and you should cast the instance manually.Class D 阅读全文
posted @ 2010-04-19 15:57 0707 阅读(120) 评论(0) 推荐(0) 编辑
摘要: emca -repos drop --删除一个EM资料库SQL> drop user sysman cascade; --删除用户及相关权限SQL> drop role MGMT_USER; SQL> drop user MGMT_VIEW cascade; SQL> drop public synonym MGMT_TARGET_BLACKOUTS;SQL> drop public synonym SETEMVIEWUSERCONTEXT; emca -repos create --新建一个EM资料库set oracle_hostname=localhostse 阅读全文
posted @ 2010-04-13 11:25 0707 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页