2015年1月10日
摘要: public static void main(String[] args) { long serverId = 65535; System.out.println("ServerId:" + serverId); long a1 = 0b11110001001000000;// 123456 // 11110001001000000 // 0000000000000000 System.out.println("顺序号,a1:" + a1); long a2 = a1 16; System.out.println("左移16位,a2:" + a2); 阅读全文
posted @ 2015-01-10 21:05 上校 阅读(412) 评论(0) 推荐(0) 编辑