/ <returns>List of Mandate instances returned from API.</returns>
437164
@Override
    public List<Mandate> getAll(FilterMandates filters, Pagination pagination, Sorting sorting) throws Exception {
        if (filters == null) filters = new FilterMandates();

        return this.getList(Mandate[].class, Mandate.class, "mandates_get_all", pagination, "", filters.getValues(), sorting);
    }
304980
@Override
	public List<T> getForIdentifiers(Collection<X> ids) {
		if(AssertUtils.isEmpty(ids)) {
			return null;
		}
		
		if(this.idKey == null) {
			fetchMappingContextAndConversionService();
		}
		
		Query query = new Query(Criteria.where(this.idKey).in(ids));
		return this.mongoTemplate.find(query, this.entityClass);
	}
255294
def get_apis(self):
        
        out = set()
        out.update(x.api for x in self.requires if x.api)
        return out
1116530
public static Collection<String> getRequestedScopes(final HttpServletRequest context) {
        val map = getRequestParameters(CollectionUtils.wrap(OAuth20Constants.SCOPE), context);
        if (map == null || map.isEmpty()) {
            return new ArrayList<>(0);
        }
        return (Collection<String>) map.get(OAuth20Constants.SCOPE);
    }
360724
public com.google.api.ads.adwords.axis.v201809.cm.PolicyTopicEvidence[] getPolicyTopicEvidences() {
        return policyTopicEvidences;
    }
142822
public java.util.List<InstanceProfile> getInstanceProfiles() {
        if (instanceProfiles == null) {
            instanceProfiles = new com.amazonaws.internal.SdkInternalList<InstanceProfile>();
        }
        return instanceProfiles;
    }
1294445
private String[] getConsumes( Consumes baseConsumes, ExecutableElement method ) {
        Consumes localConsumes = method.getAnnotation( Consumes.class );
        return localConsumes != null ? localConsumes.value() : baseConsumes != null ? baseConsumes.value() : null;
    }
995053
public java.util.List<String> getInstancesList() {
        if (instancesList == null) {
            instancesList = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return instancesList;
    }
1137250
@SuppressWarnings("UseBulkOperation")
	public List<Query> getCapturedQueries() {
		// Make a copy so that we aren't affected by changes to the list outside of the
		// synchronized block
		ArrayList<Query> retVal = new ArrayList<>(CAPACITY);
		myQueries.forEach(retVal::add);
		return Collections.unmodifiableList(retVal);
	}
1000315
public java.util.List<CommandInvocation> getCommandInvocations() {
        if (commandInvocations == null) {
            commandInvocations = new com.amazonaws.internal.SdkInternalList<CommandInvocation>();
        }
        return commandInvocations;
    }
1005818
def list_instances(self, filter=None):
        
        gce = self._connect()

        try:
            request = gce.instances().list(
                project=self._project_id, filter=filter, zone=self._zone)
            response = self._execute_request(request)
            self._check_response(response)
        except (HttpError, CloudProviderError) as e:
            raise InstanceError("could not retrieve all instances on the "
                                "cloud: ``" % e)

        if response and 'items' in response:
            return response['items']
        else:
            return list()
243307
@Override
  public ImmutableList<Require> getRequires() {
    if (hasFullParseDependencyInfo) {
      return ImmutableList.copyOf(orderedRequires);
    }

    return getDependencyInfo().getRequires();
  }
474460
public java.util.List<ComplianceByResource> getComplianceByResources() {
        if (complianceByResources == null) {
            complianceByResources = new com.amazonaws.internal.SdkInternalList<ComplianceByResource>();
        }
        return complianceByResources;
    }
880886
public List<T> allResults() {
        List<T> results = null;
        if (response != null && response.size() > 0) {
            // We first calculate the total size needed
            int totalSize = allResultsSize();

            // We init the list and copy data
            results = new ArrayList<>(totalSize);
            for (QueryResult<T> queryResult : response) {
                results.addAll(queryResult.getResult());
            }
        }
        return results;
    }
210201
public Collection<? extends GrantedAuthority> getAuthorities() {
		if (principal == null) {
			return Collections.emptyList();
		}
		return Collections.unmodifiableCollection(principal.getAuthorities());
	}
752774
def instances(self):
        
        # It would be more efficient to do this with filters now
        # but not all services that implement EC2 API support filters.
        instances = []
        rs = self.connection.get_all_instances()
        for reservation in rs:
            uses_group = [g.name for g in reservation.groups if g.name == self.name]
            if uses_group:
                instances.extend(reservation.instances)
        return instances
1109794
public java.util.List<com.google.appengine.v1.Instance> getInstancesList() {
    return instances_;
  }