Code example for SparseArray

Methods: get, remove

0
	} 
 
	public static void timeEnd(String tag) { 
		int key = tag.hashCode(); 
		if (dateHashMap != null) { 
			Long startTime = dateHashMap.get(key); 
			if (startTime != null) { 
				showLog("time", tag + ": 花费时间 " 
						+ (System.currentTimeMillis() - startTime) + "ms"); 
				dateHashMap.remove(key); 
			} 
		} 
	} 
 
	public static String md5(String in) { 
		MessageDigest digest; 
		try { 
			digest = MessageDigest.getInstance("MD5"); 
			digest.reset(); 
			digest.update(in.getBytes()); 
			byte[] a = digest.digest();