Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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;
    }
}