Replies the list of the bus hubs of the bus network.

@return a list of bus hubs.
762643
@Pure
	public Iterator<BusHub> busHubIterator() {
		return Iterators.unmodifiableIterator(
				Iterators.concat(this.validBusHubs.iterator(), this.invalidBusHubs.iterator()));
	}
474889
public Collection<String> getSelectedCities()
    {
        Set<String> cities = new TreeSet<String>();
        for (JCheckBox checkBox : checkBoxes)
        {
            if (checkBox.isSelected())
            {
                cities.add(checkBox.getText());
            }
        }
        return cities;
    }
550111
public java.util.List<SendDataPoint> getSendDataPoints() {
        if (sendDataPoints == null) {
            sendDataPoints = new com.amazonaws.internal.SdkInternalList<SendDataPoint>();
        }
        return sendDataPoints;
    }
627676
public java.util.List<DashboardEntry> getDashboardEntries() {
        if (dashboardEntries == null) {
            dashboardEntries = new com.amazonaws.internal.SdkInternalList<DashboardEntry>();
        }
        return dashboardEntries;
    }
593447
public java.util.List<InstanceFleet> getInstanceFleets() {
        if (instanceFleets == null) {
            instanceFleets = new com.amazonaws.internal.SdkInternalList<InstanceFleet>();
        }
        return instanceFleets;
    }
344642
public static String[] getAvailablePortNames() {
        SerialPort[] ports = SerialPort.getCommPorts();
        String[] portNames = new String[ports.length];
        for( int i = 0; i < portNames.length; i++ ) {
            String systemPortName = ports[i].getSystemPortName();
            portNames[i] = systemPortName;
        }
        return portNames;
    }
587042
public java.util.List<String> getBaseEndpointDnsNames() {
        if (baseEndpointDnsNames == null) {
            baseEndpointDnsNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return baseEndpointDnsNames;
    }
1011531
public java.util.List<ClusterNode> getClusterNodes() {
        if (clusterNodes == null) {
            clusterNodes = new com.amazonaws.internal.SdkInternalList<ClusterNode>();
        }
        return clusterNodes;
    }
672671
public ArrayList<TcpEndpoint> peers() {
        tcp_endpoint_vector v = p.get_peers();
        int size = (int) v.size();
        ArrayList<TcpEndpoint> l = new ArrayList<>();

        for (int i = 0; i < size; i++) {
            l.add(new TcpEndpoint(v.get(i)));
        }

        return l;
    }
439435
public java.util.List<MovingAddressStatus> getMovingAddressStatuses() {
        if (movingAddressStatuses == null) {
            movingAddressStatuses = new com.amazonaws.internal.SdkInternalList<MovingAddressStatus>();
        }
        return movingAddressStatuses;
    }
1124584
public java.util.List<InternetGateway> getInternetGateways() {
        if (internetGateways == null) {
            internetGateways = new com.amazonaws.internal.SdkInternalList<InternetGateway>();
        }
        return internetGateways;
    }
1359206
public java.util.List<NetworkInterface> getGatewayNetworkInterfaces() {
        if (gatewayNetworkInterfaces == null) {
            gatewayNetworkInterfaces = new com.amazonaws.internal.SdkInternalList<NetworkInterface>();
        }
        return gatewayNetworkInterfaces;
    }
628324
public java.util.List<TransitGatewayRouteTablePropagation> getTransitGatewayRouteTablePropagations() {
        if (transitGatewayRouteTablePropagations == null) {
            transitGatewayRouteTablePropagations = new com.amazonaws.internal.SdkInternalList<TransitGatewayRouteTablePropagation>();
        }
        return transitGatewayRouteTablePropagations;
    }
1216344
def index_buses(self, buses=None, start=0):
        
        bs = self.connected_buses if buses is None else buses
        for i, b in enumerate(bs):
            b._i = start + i
1105638
public java.util.List<NatGatewayAddress> getNatGatewayAddresses() {
        if (natGatewayAddresses == null) {
            natGatewayAddresses = new com.amazonaws.internal.SdkInternalList<NatGatewayAddress>();
        }
        return natGatewayAddresses;
    }
553313
@Pure
	public Iterator<BusStop> busStopIterator() {
		return Iterators.unmodifiableIterator(
				Iterators.concat(this.validBusStops.iterator(), this.invalidBusStops.iterator()));
	}
864976
public List<Destination> getDestinations() {
        List<Destination> destinations = new ArrayList<Destination>();
        Iterator<JMSDestination> destinationIterator =
            jmsDestinations.values().iterator();
        while(destinationIterator.hasNext()) {
            destinations.add(destinationIterator.next().destination);
        }
        return destinations;
    }