摘要: public static void main(String[] args) { fun(100); } public static void fun(int num){ int i=2; if(num==i){ System.out.println(num); return; }else{ while(true){ if(num%i==0){ ... 阅读全文
posted @ 2017-04-25 21:37 我_会飞的鱼 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: public void testName() throws Exception { Jedis jedis=new Jedis("192.168.200.128"); jedis.watch("num");//监视num String string = jedis.get("num"); Transaction transactio... 阅读全文
posted @ 2017-04-25 20:53 我_会飞的鱼 阅读(411) 评论(0) 推荐(0) 编辑