Package jadex.tools.comanalyzer.graph
Interface IComponentGroup
-
- All Known Implementing Classes:
ComponentGroup
,GraphCanvas.AgentGroup
,GraphCanvas.MessageGroup
public interface IComponentGroup
The interface for element groups in the ComponentGroupMultiGraph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addElement(java.lang.Object k)
Adds an element to the groupboolean
contains(java.lang.Object k)
Returnstrue
if the element is in the group.java.util.List
getElements()
java.util.Iterator
iterator()
void
removeElement(java.lang.Object k)
Removes an element from the groupint
size()
-
-
-
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)
Returnstrue
if the element is in the group.- Parameters:
k
- The element.- Returns:
true
if the element is in the group.
-
-