Java tutorial
//package com.java2s; //License from project: LGPL import java.util.HashMap; import java.util.Map; public class Main { private static Map<Integer, String> sSystemLayoutResIds = new HashMap<Integer, String>(0); public static boolean isSystemLayoutId(int id) { return sSystemLayoutResIds.containsKey(Integer.valueOf(id)); } }