随笔分类 - 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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号