Package jadex.tools.comanalyzer.graph
Interface IComponentGroup
- 
- All Known Implementing Classes:
- ComponentGroup,- GraphCanvas.AgentGroup,- GraphCanvas.MessageGroup
 
 public interface IComponentGroupThe interface for element groups in the ComponentGroupMultiGraph.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddElement(java.lang.Object k)Adds an element to the groupbooleancontains(java.lang.Object k)Returnstrueif the element is in the group.java.util.ListgetElements()java.util.Iteratoriterator()voidremoveElement(java.lang.Object k)Removes an element from the groupintsize()
 
- 
- 
- 
Method Detail- 
addElementvoid addElement(java.lang.Object k) Adds an element to the group- Parameters:
- k- The element.
 
 - 
removeElementvoid removeElement(java.lang.Object k) Removes an element from the group- Parameters:
- k- The element.
 
 - 
sizeint size() - Returns:
- The size of the group.
 
 - 
iteratorjava.util.Iterator iterator() - Returns:
- The iterator of the group.
 
 - 
getElementsjava.util.List getElements() - Returns:
- The element list.
 
 - 
containsboolean contains(java.lang.Object k) Returnstrueif the element is in the group.- Parameters:
- k- The element.
- Returns:
- trueif the element is in the group.
 
 
- 
 
-