Java tutorial
//package com.java2s; import java.util.HashSet; public class Main { private static HashSet<String> androidClassPrefixes = new HashSet<String>(); public static boolean isAndroidClass(String clsName) { for (String prefix : androidClassPrefixes) { if (clsName.startsWith(prefix)) { System.out.println(clsName); return true; } } return false; } }