public class ConnectivityGrid.GridCell
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addInterface(NetworkInterface ni)
Adds an interface to this cell
|
java.util.ArrayList<NetworkInterface> |
getInterfaces()
Returns a list of of interfaces in this cell
|
void |
moveInterface(NetworkInterface ni,
ConnectivityGrid.GridCell to)
Moves a interface in a Cell to another Cell
|
void |
removeInterface(NetworkInterface ni)
Removes an interface from this cell
|
java.lang.String |
toString()
Returns a string representation of the cell
|
public java.util.ArrayList<NetworkInterface> getInterfaces()
public void addInterface(NetworkInterface ni)
ni - The interface to addpublic void removeInterface(NetworkInterface ni)
ni - The interface to removepublic void moveInterface(NetworkInterface ni, ConnectivityGrid.GridCell to)
ni - The interface to moveto - The cell where the interface should be moved topublic java.lang.String toString()
toString in class java.lang.Object