Here you can find the source of isQQ(String str)
public static boolean isQQ(String str)
//package com.java2s; import com.google.common.base.Strings; public class Main { public static final String QQ = "[1-9][0-9]{4,}"; public static boolean isQQ(String str) { return !Strings.isNullOrEmpty(str) && str.matches(QQ); }/*from w ww . j a v a2s . c o m*/ }