Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.HashSet;
import java.util.Set;

public class Main {
    private static Set<String> androidClassPrefixes = new HashSet<String>();

    public static boolean isAndroidClass(String clsName) {
        for (String prefix : androidClassPrefixes) {
            if (clsName.startsWith(prefix)) {
                return true;
            }
        }

        return false;
    }
}