文章列表
- 博客分类:
exception in thread "main" java.lang.outofmemoryerror: java heap space
at java.util.arrays.copyof(arrays.java:2786)
at java.io.bytearrayoutputstream.write(bytearrayoutputstream.java:71)
at com.sun.mail.pop3.protocol.multilinecommand(protocol.java:394)
at com.sun.mail.pop3.protoco ...
- 2012-04-24 11:28
- 浏览 1288
- 分类:编程语言
fatal error in native method: jdwp no transports initialized, jvmtierror=agent_error_transport_init(197)
error: transport error 202: gethostbyname: unknown host
error: jdwp transport dt_socket failed to initialize, transport_init(510)
jdwp exit error agent_error_transport_init(197): no transpor ...
- 2012-04-18 15:37
- 浏览 4501
- 分类:编程语言
- 博客分类:
/* var card:array=["红桃a","方块7","黑桃q","梅花3","梅花10","黑桃6","黑桃j"];
trace(card.sort(cheat));
function cheat(a,b){
if(a=="红桃a")
return 1;
else
return math.random()>0.5?1:-1;
}*/
/* var player1:obje ...
- 2012-04-05 23:25
- 浏览 1012
- 分类:编程语言
- 博客分类:
import flash.events.mouseevent;
import flash.events.event;
/*stage.addeventlistener(mouseevent.click,clk);
function clk(e:mouseevent){
trace(e.type);
trace(e.target.framerate);
trace(e.target.quality);
stage.removeeventlistener(mouseevent.click,clk);
}*/
var es:event=new ...
- 2012-04-05 23:24
- 浏览 693
- 分类:编程语言
- 博客分类:
var a:int = 5;
var b:uint = 5;
trace(a==b);
trace(a===b);
b = 3;
trace(a=0&&a<=10);
trace(typeof 10);
trace(typeof true);
trace(typeof object);
trace(typeof [1,2,3]);
trace(9 is number);
trace([1,2] is number);
trace([1,2] is array);
trace(9 as nu ...
- 2012-04-04 15:57
- 浏览 739
- 分类:编程语言