- 浏览: 8460 次
- 性别:
- 来自: 武汉
最新评论
文章列表
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 ...
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 ...
/* 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 ...
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 ...
actionscript
- 博客分类:
- as
var a:int = 5;
var b:uint = 5;
trace(a==b);
trace(a===b);
b = 3;
trace(a<b);
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 ...