Code example for ArrayList

Methods: remove

0
    return preferenceList.size();
  } 
 
  @Implementation 
  public boolean removePreference(Preference preference) {
    return preferenceList.remove(preference);
  } 
 
  @Implementation 
  public void removeAll() { 
    preferenceList.clear();
  } 
 
  /** 
   * Note: copied wholesale from Android source 
   * @param key 
   * @return 
   */ 
  @Implementation 
  public Preference findPreference(CharSequence key) {
    if (TextUtils.equals(getKey(), key)) {