随笔分类 -  java

摘要:1 package com.myproj.snake; 2 3 public class Node { 4 private int i,j; 5 public Node(){} 6 public Node(int i, int j) { 7 super(); 8 this.i = i; 9 this 阅读全文
posted @ 2017-03-24 22:58 xiongjiawei 阅读(494) 评论(0) 推荐(0)
摘要:1 public class TestToString { 2 public static void main(String[] args){ 3 Node node1=new Node("东邪"); 4 node1.next=new Node("西毒"); 5 node1.next.next=ne 阅读全文
posted @ 2017-03-23 21:40 xiongjiawei 阅读(1965) 评论(0) 推荐(0)
摘要:1 package com.tn.collect; 2 3 import java.util.Enumeration; 4 import java.util.Iterator; 5 import java.util.Vector; 6 7 public class VectorDemo { 8 pu 阅读全文
posted @ 2017-03-22 22:41 xiongjiawei 阅读(138) 评论(0) 推荐(0)
摘要:1 package com.tn.collect; 2 3 import java.lang.reflect.Method; 4 import java.util.ArrayList; 5 6 public class Fanxin { 7 public static void main(Strin 阅读全文
posted @ 2017-03-22 22:08 xiongjiawei 阅读(901) 评论(0) 推荐(0)
摘要:1 package com.tn.collect; 2 3 import java.util.ArrayList; 4 import java.util.Iterator; 5 6 class Product{ 7 public Product() { 8 super(); 9 // TODO Au 阅读全文
posted @ 2017-03-22 20:12 xiongjiawei 阅读(706) 评论(0) 推荐(0)
摘要:1 public class Test { 2 public static void main(String[] args) { 3 String str="135axy"; 4 String regEx="[0-9]{1,3}[a-z]{2,3}"; 5 boolean m=str.matches 阅读全文
posted @ 2017-03-17 19:51 xiongjiawei 阅读(152) 评论(0) 推荐(0)