开发者

<-- operator in android graphics

 v1.addView(new TransfomedViewWidget(<-- (9)
            this,
            new Transformation() {<-- (10)
                @Override public String describe() { return "rotate(-30)"; }
                @Override public void transform(Canvas canvas) {
                    canvas.rotate(-30.0F);
                } }));

I am new to Java and android programming , can anyone tell me what this <-- operator means? I am getting error whi开发者_运维知识库le trying to compile this in eclipse.


It isn't part of the syntax, it loks like something else has put it there.


Certainly it was a note or comment ... add // in front of them and try to compile again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜