摘要: 1 package danlimoshi; 2 3 public class FactoryTest { 4 public static void main(String[] args) { 5 Factory factory=Factory.getFactory(); 6 System.out.println("factory "+fac... 阅读全文
posted @ 2016-09-26 17:04 奋斗的少年WH 阅读(129) 评论(0) 推荐(0)
摘要: //方法三 String regex="^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{6,15}$"; System.out.println(passwd.matches(regex)); 阅读全文
posted @ 2016-09-26 15:24 奋斗的少年WH 阅读(1130) 评论(0) 推荐(0)