`
hy036630
  • 浏览: 3625 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
   最近看了很多大侠的文章,关于Action字段或者是对于类的整体转换的转换的很多 比如      public UserAction extends ActionSupport{ private int id; private String name; //getter and setter.... }      或者是对一个类的整体转 ...
public class ChessBoard { int tile = 1; int k = 16; int[][] Board = new int[16][16]; public void ChessBoard(int tr,int tc,int dr,int dc,int size) { if(size == 1) return; int t = tile++; System.out.println(t); int s = size/2; if(dr < tr+s && dc ...
引用http://yoyo08.iteye.com/blog/464556 public class RadixSortTrain { int [] a ={785,121,2131,123,4567,452,12,34,78,1234}; public void printA() { for(int i=0;i<a.length;i++) System.out.println(a[i]); ...
public class HeapSort { int [] a = {3,1,5,2,4,9,8,7,6,4}; //数组的索引以0开始 ID也是从0开始 //父节点的索引 public int parentID(int childID) { return (childID-1)/2; } //左孩子的索引 public int leftChildID(int parentID) ...
hello world
Global site tag (gtag.js) - Google Analytics