All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.tools.comanalyzer.graph.IComponentGroup Maven / Gradle / Ivy

Go to download

The Jadex tools comanalyzer package contains the ComAnalyzer JCC plugin for observing the communication between Jadex components.

The newest version!
package jadex.tools.comanalyzer.graph;

import java.util.Iterator;
import java.util.List;


/**
 * The interface for element groups in the ComponentGroupMultiGraph.
 */
public interface IComponentGroup
{

	/**
	 * Adds an element to the group
	 * 
	 * @param k The element.
	 */
	void addElement(Object k);

	/**
	 * Removes an element from the group
	 * 
	 * @param k The element.
	 */
	void removeElement(Object k);

	/**
	 * @return The size of the group.
	 */
	int size();

	/**
	 * @return The iterator of the group.
	 */
	Iterator iterator();

	/**
	 * @return The element list.
	 */
	List getElements();

	/**
	 * Returns true if the element is in the group.
	 * 
	 * @param k The element.
	 * @return true if the element is in the group.
	 */
	boolean contains(Object k);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy