日期:2014-05-20 浏览次数:21013 次
public class Test {
    /**
     * @param args
     */
    public static void main(String[] args) {
//        ThreadFromRunnable tr = new ThreadFromRunnable();
//        Thread thread = new Thread(tr);
//        Thread thread2 = new Thread(tr);
//        
//        thread.start();
//        thread2.start();
        
        ThreadExtendsThread thread = new ThreadExtendsThread();
        ThreadExtendsThread thread2 = new ThreadExtendsThread();
        thread.start();
        thread2.start();
    }
}
String s = "imsportada";
        System.out.println(Pattern.matches("^(?:[^import]).*$", s));