Get the list of candidates.

@return the list of transport candidates
171807
public List<TransportCandidate> getCandidatesList() {
        List<TransportCandidate> result;

        synchronized (candidates) {
            result = new ArrayList<>(candidates);
        }

        return result;
    }
339072
public List<Person> getSpouses() {
        final List<Person> spouses = new ArrayList<>();
        for (final FamilyNavigator nav : familySNavigators) {
            final Person spouse = nav.getSpouse(visitedPerson);
            if (spouse.isSet()) {
                spouses.add(spouse);
            }
        }
        return spouses;
    }
386623
public List<Object> getAllLocators() {
		List<Object> locators = new ArrayList<Object>();

		synchronized (_lock) {
			for (Reference reference : _references)
				locators.add(reference.getLocator());
		}

		return locators;
	}
35889
public java.util.List<VirtualGateway> getVirtualGateways() {
        if (virtualGateways == null) {
            virtualGateways = new com.amazonaws.internal.SdkInternalList<VirtualGateway>();
        }
        return virtualGateways;
    }
1165294
@Override
    public List<String> getTrailerNames() {
        HttpTrailers trailers = message.getTrailers();
        if (trailers != null)
            return trailers.getAllHeaderNames();
        else
            return null;

    }
463715
public List<String> getSearchList() {
        List<String> searches = new ArrayList<String>();
        String running = "";
        for (String token: this) {
            running += token;
            searches.add(0, running);
        }
        return searches;
    }
68105
public java.util.List<String> getFleetIds() {
        if (fleetIds == null) {
            fleetIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return fleetIds;
    }
1317193
final BusGroup[] getAllBuses()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "getAllBuses");
      SibTr.exit(tc, "getAllBuses", _buses);
    }

    return _buses;
  }
628324
public java.util.List<TransitGatewayRouteTablePropagation> getTransitGatewayRouteTablePropagations() {
        if (transitGatewayRouteTablePropagations == null) {
            transitGatewayRouteTablePropagations = new com.amazonaws.internal.SdkInternalList<TransitGatewayRouteTablePropagation>();
        }
        return transitGatewayRouteTablePropagations;
    }
1325636
public List<Attribute> getTransportAttributes() {
        List<Attribute> result;

        result = new ArrayList<Attribute>();
        for (State state : states) {
            result.add(state.getAttribute());
        }
        return result;
    }
763193
public function getCandidates()
    {
        $candidates = array();

        foreach ($this->collection->all() as $name => $route) {
            $specs = array();

            preg_match_all('/\{\w+\}/', $route->getPath(), $matches);

            if (isset($matches[0])) {
                $specs = $matches[0];
            }

            foreach ($specs as $spec) {
                $param          = substr($spec, 1, -1);
                $regexSpec      = '\\'.$spec.'\\';
                $requirements   = $route->getRequirements();

                if (isset($requirements[$param])) {
                    $route->setRegex(

                        str_replace(
                            $spec,
                            $this->getRegexOperand($requirements[$param]),
                            $route->getRegex()
                        )
                    );
                }
            }

            // Build regeular expression to match routes
            $route->setRegex('^'.'/'.ltrim(trim($route->getRegex()), '/').'/?$');
            $route->setRegex('/'.str_replace('/', '\/', $route->getRegex()).'/');

            if (preg_match($route->getRegex(), $this->request->getPathInfo())) {
                // We have a match
                $candidates[] = $route;
            }
        }

        return $candidates;
    }
1151697
protected List<String> getPages() {

        if (m_pages == null) {
            m_pages = Arrays.asList(getPageArray());
        }
        return m_pages;
    }
1313928
public java.util.List<String> getOtherPolicies() {
        if (otherPolicies == null) {
            otherPolicies = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return otherPolicies;
    }
325253
public List<E> toList()
    {
        ArrayList<E> list = new ArrayList<E>(queue.size());
        while (!queue.isEmpty())
        {
            list.add(0, queue.poll());
        }

        return list;
    }
1250008
private List getDestinations() {

        List result = new ArrayList();
        result.add(new CmsSelectWidgetOption("WEB-INF/classes/"));
        result.add(new CmsSelectWidgetOption("WEB-INF/lib/"));
        return result;
    }
344332
public java.util.List<String> getTransitGatewayAttachmentIds() {
        if (transitGatewayAttachmentIds == null) {
            transitGatewayAttachmentIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return transitGatewayAttachmentIds;
    }
217438
public java.util.List<TransitGateway> getTransitGateways() {
        if (transitGateways == null) {
            transitGateways = new com.amazonaws.internal.SdkInternalList<TransitGateway>();
        }
        return transitGateways;
    }