Code example for LinkedList

Methods: indexOf, remove

0
	 
	//覆盖unregisterReceiver来确保管理状态 
	@Override 
	public void unregisterReceiver(BroadcastReceiver receiver) {
		super.unregisterReceiver(receiver);
		int index=managedReceivers.indexOf(receiver);
		if(index!=-1)
			managedReceivers.remove(index);
	} 
	 
	/** 
	 * @param activityClass 
	 * @see practice.utils.app.BaseContext#startActivity(java.lang.Class) 
	 */ 
	public void startActivity(Class<? extends Activity> activityClass) {
		proxycContext.startActivity(activityClass);
	} 
 
	/** 
	 * @param serviceClass 
	 * @see practice.utils.app.BaseContext#startService(java.lang.Class)