摘要: package com.light.algorithm { /** * 排序算法合集· * @author light */ public class Sort { private static var len:uint = 0; /** * 冒泡排序 Bubble Sort * 原理: * 比较n轮,每一轮都把最大元素移动到数组后端。 * @return */ public static functi... 阅读全文
posted @ 2013-08-27 17:31 ndljava 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 直接上代码:package cn.ndl.ui { import flash.display.GradientType; import flash.display.Shape; import flash.display.SpreadMethod; import flash.display.Sprite; import flash.geom.Matrix; import flash.text.TextField; public class EcoRect extends Sprite { private var ttf:TextField;... 阅读全文
posted @ 2013-08-27 10:25 ndljava 阅读(561) 评论(0) 推荐(0) 编辑