private final class DeleteAction.VisitorForDeletingEdges extends java.lang.Object implements ItemVisitor
| Modifier and Type | Field and Description |
|---|---|
private java.util.ListIterator<Item> |
iterator
The iterator.
|
| Modifier | Constructor and Description |
|---|---|
private |
VisitorForDeletingEdges(java.util.ListIterator<Item> iterator)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adapter(NetworkAdapter adapter)
Shows the details of the adapter.
|
void |
configRouter(ConfigRouter router)
It's a router.
|
void |
hardwareEdge(HardwareEdge edge)
It's a HardwareEdge.
|
void |
host(Host host)
It's a host.
|
void |
internet(Internet internet)
It's a internet.
|
void |
networkCable(NetworkCable edge)
It's a networkEdge.
|
void |
router(Router router)
It's a normal router.
|
void |
slot(Slot slot)
It's a Slot.
|
void |
sWitch(Switch sWitch)
It's a host.
|
private final java.util.ListIterator<Item> iterator
private VisitorForDeletingEdges(java.util.ListIterator<Item> iterator)
iterator - the iterator.public void sWitch(Switch sWitch)
ItemVisitorsWitch in interface ItemVisitorsWitch - the switch.public void router(Router router)
ItemVisitorrouter in interface ItemVisitorrouter - router.public void networkCable(NetworkCable edge)
ItemVisitornetworkCable in interface ItemVisitoredge - the edge.public void internet(Internet internet)
ItemVisitorinternet in interface ItemVisitorinternet - the internet.public void host(Host host)
ItemVisitorhost in interface ItemVisitorhost - the hostpublic void hardwareEdge(HardwareEdge edge)
ItemVisitorhardwareEdge in interface ItemVisitoredge - the edge.public void configRouter(ConfigRouter router)
ItemVisitorconfigRouter in interface ItemVisitorrouter - router.public void adapter(NetworkAdapter adapter)
ItemVisitoradapter in interface ItemVisitoradapter - the adapterpublic void slot(Slot slot)
ItemVisitorslot in interface ItemVisitorslot - the slot.