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 Summary
All 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
-
addElement
void addElement(java.lang.Object k)
Adds an element to the group- Parameters:
k- The element.
-
removeElement
void removeElement(java.lang.Object k)
Removes an element from the group- Parameters:
k- The element.
-
size
int size()
- Returns:
- The size of the group.
-
iterator
java.util.Iterator iterator()
- Returns:
- The iterator of the group.
-
getElements
java.util.List getElements()
- Returns:
- The element list.
-
contains
boolean contains(java.lang.Object k)
Returnstrueif the element is in the group.- Parameters:
k- The element.- Returns:
trueif the element is in the group.
-
-