Package com.uc4.communication.requests
Class NavigatorQueueTree.QueueNode
java.lang.Object
com.uc4.communication.requests.NavigatorQueueTree.QueueNode
- All Implemented Interfaces:
ITreeItem
- Direct Known Subclasses:
NavigatorQueueTree.QueueLeaf
- Enclosing class:
- NavigatorQueueTree
Represents a node in the
NavigatorQueueTree
.-
Method Summary
Modifier and TypeMethodDescriptionReturns an Iterator which can be used to step through the children of thisITreeItem
.getId()
Returns the intern id of theQueueNode
.getName()
Returns the name of thisITreeItem
.int
size()
Returns the number of child items of thisITreeItem
.Returns the traffic light information of thisITreeItem
.
-
Method Details
-
getName
Description copied from interface:ITreeItem
Returns the name of thisITreeItem
. -
trafficLight
Description copied from interface:ITreeItem
Returns the traffic light information of thisITreeItem
.- Specified by:
trafficLight
in interfaceITreeItem
- Returns:
TrafficLight
-
getId
Returns the intern id of theQueueNode
.- Returns:
- intern id
-
childIterator
Description copied from interface:ITreeItem
Returns an Iterator which can be used to step through the children of thisITreeItem
.- Specified by:
childIterator
in interfaceITreeItem
- Returns:
- Iterator containing the children of this
ITreeItem
-
size
public int size()Description copied from interface:ITreeItem
Returns the number of child items of thisITreeItem
.
-