2014年10月22日
摘要: http://www.blogjava.net/heavensay/archive/2012/11/07/389685.html a=null;12clazzA=null;13loader=null;14//执行一次gc垃圾回收15System.gc(); 阅读全文
posted @ 2014-10-22 00:47 jnuyao 阅读(178) 评论(0) 推荐(0) 编辑
  2013年3月20日
摘要: Is there a way to exclude column(s) from a table without specifying all the columns?Google find a communication about sqlSERVER like:It would be nice to have an EXCEPT operator like the "\" (backslash) in set theory to exclude columns from the output of a select statement (in opposite to t 阅读全文
posted @ 2013-03-20 14:36 jnuyao 阅读(693) 评论(0) 推荐(0) 编辑
  2013年3月7日
摘要: A Bermudan swaption is a swaption where the owner has the right to enter into the underlying swap either on the swaption's expiry date or on a number of other predefined exercise dates after that expiry date.1 How is this different from a regular swaption? In a regular swaption the holder has th 阅读全文
posted @ 2013-03-07 17:35 jnuyao 阅读(200) 评论(0) 推荐(0) 编辑
  2013年3月5日
摘要: import java.util.LinkedList;/** A thread pool is a group of a limited number of threads that are used to execute tasks.*/public class ThreadPool extends ThreadGroup { private boolean isAlive; private LinkedList<Runnable> taskQueue; private int threadID; private static int threadPoo... 阅读全文
posted @ 2013-03-05 21:58 jnuyao 阅读(236) 评论(0) 推荐(0) 编辑
  2013年2月26日
摘要: The DCL idiom was designed to support lazy initialization, which occurs when a class defers initialization of an owned object until it is actually needed:public class WorldCup { private static WorldCup instance; public static WorldCup getInstance(){ if(instance == null) //A instance = new WorldCu... 阅读全文
posted @ 2013-02-26 22:27 jnuyao 阅读(168) 评论(0) 推荐(0) 编辑
  2013年2月25日
摘要: My blackberryspotaneously reboots repeatedly, does it like miui?I use bb Aug2012,for it's encrypt reputation,then i bought 9850 which isnot full qwerty but touch screen.Recently,BlackBerry cannot start up and it keep restarting itself until my battery drained out!Pull battery,not work.Google fin 阅读全文
posted @ 2013-02-25 23:00 jnuyao 阅读(269) 评论(0) 推荐(0) 编辑
摘要: JMM defines how threads interact through memory.It used to be somewhat unclear and unnecessarily limiting,and so was revised.JSR133:Shared variables/Heap memory Memory that can be shared between threads is called shared or heap memory. All instance fields, static fields and array elements are stored 阅读全文
posted @ 2013-02-25 12:09 jnuyao 阅读(196) 评论(0) 推荐(0) 编辑
  2013年2月21日
摘要: ddd 阅读全文
posted @ 2013-02-21 21:38 jnuyao 阅读(225) 评论(0) 推荐(0) 编辑
摘要: The spot FX market:is an exchange of one currency against another at an agreed rate.Settlement takes place two daysafter the trade date,although there is an exception to the rule.(most spot trades settle on a T+2 basis,that is,settlement occurs after two working days.)(T+1 is a notable exception to 阅读全文
posted @ 2013-02-21 12:16 jnuyao 阅读(416) 评论(0) 推荐(0) 编辑
  2013年2月6日
摘要: Yes,as the caption show,I want to study how to find a way to make DB120's serial port communication with web page.Openwrt choose the luci web page as the default.So lua language is the first gap to breakthrough.A simple i.e given as below:#!/usr/bin/luaio.output("/dev/ttyS0")io.write(o 阅读全文
posted @ 2013-02-06 00:40 jnuyao 阅读(552) 评论(0) 推荐(0) 编辑