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)
ItemVisitor
sWitch
in interface ItemVisitor
sWitch
- the switch.public void router(Router router)
ItemVisitor
router
in interface ItemVisitor
router
- router.public void networkCable(NetworkCable edge)
ItemVisitor
networkCable
in interface ItemVisitor
edge
- the edge.public void internet(Internet internet)
ItemVisitor
internet
in interface ItemVisitor
internet
- the internet.public void host(Host host)
ItemVisitor
host
in interface ItemVisitor
host
- the hostpublic void hardwareEdge(HardwareEdge edge)
ItemVisitor
hardwareEdge
in interface ItemVisitor
edge
- the edge.public void configRouter(ConfigRouter router)
ItemVisitor
configRouter
in interface ItemVisitor
router
- router.public void adapter(NetworkAdapter adapter)
ItemVisitor
adapter
in interface ItemVisitor
adapter
- the adapterpublic void slot(Slot slot)
ItemVisitor
slot
in interface ItemVisitor
slot
- the slot.