Code example for List

Methods: indexOf

0
	 * @param cls 
	 *            class of activity 
	 * @return 
	 */ 
	private int getIndexOf(Class<?> cls) {
		int index = mActivities.indexOf(cls);
		if (-1 == index) {
			Log.e(TAG, "No such activity: " + cls.getName());
		} 
		return index;
	} 
 
	@SuppressWarnings("unused") 
	private Class<?> getActivityAt(int index) {
		if (index > 0 && index < mActivities.size()) {
			return mActivities.get(index);
		} 
		return null; 
	} 
 
	/**