<commit_before>/*
 * AndroidAdapters Copyright 2014 <NAME>
 *
 * This program is free software: you can redistribute it and/or modify 
 * it under the terms of the GNU Lesser General Public License as published 
 * by the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/>. 
 */
package de.mrapp.android.adapter.expandablelist;

import de.mrapp.android.adapter.ExpandableListAdapter;

/**
 * Defines the interface, all listeners, which should be notified, when the
 * underlying data of an {@link ExpandableListAdapter} has been modified, must
 * implement.
 * 
 * @param <GroupType>
 *            The type of the underlying data of the observed adapter's group
 *            items
 * @param <ChildType>
 *            The type of the underlying data of the observed adapter's child
 *            items
 * 
 * @author <NAME>
 * 
 * @since 1.0.0
 */
public interface ExpandableListAdapterListener<GroupType, ChildType> {

	/**
	 * The method, which is invoked, when a group item has been added to the
	 * adapter.
	 * 
	 * @param adapter
	 *            The observed adapter as an instance of the type
	 *            {@link ExpandableListAdapter}. The adapter may not be null
	 * @param group
	 *            The group item, which has been added, as an instance of the
	 *            generic type GroupType. The group item may not be null
	 * @param index
	 *            The index of the group item, which has been added, as an
	 *            {@link Integer} value
	 */
	void onGroupAdded(
			ExpandableListAdapterListener<GroupType, ChildType> adapter,
			GroupType group, int index);

	/**
	 * The method, which is invoked, when a group item has been removed from the
	 * adapter.
	 * 
	 * @param adapter
	 *            The observed adapter as an instance of the type
	 *            {@link ExpandableListAdapter}. The adapter may not be null
	 * @param group
	 *            The group item, which has been removed, as an instance of the
	 *            generic type GroupType. The group item may not be null
	 * @param index
	 *            The index of the group item, which has been removed, as an
	 *            {@link Integer} value
	 */
	void onGroupRemoved(ExpandableListAdapter<GroupType, ChildType> adapter,
			GroupType group, int index);
<commit_msg>Fixed wrong method parameter type.<commit_after>/*
 * AndroidAdapters Copyright 2014 <NAME>
 *
 * This program is free software: you can redistribute it and/or modify 
 * it under the terms of the GNU Lesser General Public License as published 
 * by the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/>. 
 */
package de.mrapp.android.adapter.expandablelist;

import de.mrapp.android.adapter.ExpandableListAdapter;

/**
 * Defines the interface, all listeners, which should be notified, when the
 * underlying data of an {@link ExpandableListAdapter} has been modified, must
 * implement.
 * 
 * @param <GroupType>
 *            The type of the underlying data of the observed adapter's group
 *            items
 * @param <ChildType>
 *            The type of the underlying data of the observed adapter's child
 *            items
 * 
 * @author <NAME>
 * 
 * @since 1.0.0
 */
public interface ExpandableListAdapterListener<GroupType, ChildType> {

	/**
	 * The method, which is invoked, when a group item has been added to the
	 * adapter.
	 * 
	 * @param adapter
	 *            The observed adapter as an instance of the type
	 *            {@link ExpandableListAdapter}. The adapter may not be null
	 * @param group
	 *            The group item, which has been added, as an instance of the
	 *            generic type GroupType. The group item may not be null
	 * @param index
	 *            The index of the group item, which has been added, as an
	 *            {@link Integer} value
	 */
	void onGroupAdded(ExpandableListAdapter<GroupType, ChildType> adapter,
			GroupType group, int index);

	/**
	 * The method, which is invoked, when a group item has been removed from the
	 * adapter.
	 * 
	 * @param adapter
	 *            The observed adapter as an instance of the type
	 *            {@link ExpandableListAdapter}. The adapter may not be null
	 * @param group
	 *            The group item, which has been removed, as an instance of the
	 *            generic type GroupType. The group item may not be null
	 * @param index
	 *            The index of the group item, which has been removed, as an
	 *            {@link Integer} value
	 */
	void onGroupRemoved(ExpandableListAdapter<GroupType, ChildType> adapter,
			GroupType group, int index);

{'fraction_non_alphanumeric': 0.06939076016933554, 'fraction_numerical': 0.0029449659488312166, 'mean_word_length': 2.7527624309392267, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '985491', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1351, 'n_words': 673}