Note that if not logged in, the Changeset for each returned element will be null

@param wayIds a collection of way ids to return
@throws OsmNotFoundException if <b>any</b> one of the given ways does not exist
@return a list of ways.
359075
public List<Way> getWays(Collection<Long> wayIds)
	{
		if(wayIds.isEmpty()) return Collections.emptyList();
		return getSomeElements(WAY + "s?" + WAY + "s=" + toCommaList(wayIds), Way.class);
	}
1210445
protected synchronized void listRecovery(String listId) {

        CmsHtmlList list = getListObject(this.getClass(), getSettings());
        if ((list != null) && !list.getId().equals(listId)) {
            list = null;
        }
        setList(list);
    }
143688
public List<Group> getGroupsNotInPathProfile(
        int profileId, int pathId) {
        ArrayList<Group> allGroups = new ArrayList<Group>(findAllGroups());
        ArrayList<Group> groupsNotInProfile = new ArrayList<Group>();
        int[] groupIds = Utils.arrayFromStringOfIntegers(getGroupIdsInPathProfile(profileId,
                                                                                  pathId));
        // go though each group, if groupIds does not match any of them, then
        // the group must not be added, so we add it
        for (int j = 0; j < allGroups.size(); j++) {
            boolean add = true;
            for (int i = 0; i < groupIds.length; i++) {
                if (allGroups.get(j).getId() == groupIds[i]) {
                    add = false;
                }
            }
            if (add) {
                groupsNotInProfile.add(allGroups.get(j));
            }
        }
        return groupsNotInProfile;
    }
757185
public void setVpnGatewayIds(java.util.Collection<String> vpnGatewayIds) {
        if (vpnGatewayIds == null) {
            this.vpnGatewayIds = null;
            return;
        }

        this.vpnGatewayIds = new com.amazonaws.internal.SdkInternalList<String>(vpnGatewayIds);
    }
52534
public List<ChangesContainer> getSortedList()
   {
      List<ChangesContainer> changesContainers = new ArrayList<ChangesContainer>(changes);
      Collections.sort(changesContainers);
      return changesContainers;
   }
1205409
@Override
  public Set<String> getDirectoryEntries() throws
      IOException
  {
    synchronized (zip)
    {
      if (allEntries == null)
      {
        listEntries();
      }
      return Collections.unmodifiableSet(dirEntries);
    }
  }
613897
protected Set<String> getUpdatedRolesFrom(Set<String> roles) {
        Set<String> updatedRoles = Sets.newHashSet(roles);
        updatedRoles.addAll(_rolesAdded);
        updatedRoles.removeAll(_rolesRemoved);
        return updatedRoles;
    }
146316
private static Map<Elements, String> casIds() {
        Map<Elements, String> result = ids;
        if (result == null) {
            synchronized (LOCK) {
                result = ids;
                if (result == null) {
                    ids = result = initCasIds();
                }
            }
        }
        return result;
    }
492816
public void setNatGatewayIds(java.util.Collection<String> natGatewayIds) {
        if (natGatewayIds == null) {
            this.natGatewayIds = null;
            return;
        }

        this.natGatewayIds = new com.amazonaws.internal.SdkInternalList<String>(natGatewayIds);
    }
1373743
public static int[][] getDomainMapping(String[] modelDom, String[] colDom, boolean exact) {
    return getDomainMapping(null, modelDom, colDom, exact);
  }
905284
public synchronized ModuleList getModuleList() throws NotAllowedException
	{
		ModuleList modules = new ModuleList();
		for (Object definition : getRootElementList())
		{
			if (definition instanceof AModuleModules)
				modules.add((AModuleModules) definition);
			else
				throw new NotAllowedException("Other definition than Module is found: "
						+ definition.getClass().getName());
		}

		modules.combineDefaults();

		return modules;
	}
432455
public static List<String> couchStyleRevisionHistoryToFullRevisionIDs(final int start, List<String> ids) {
        List<String> revisionHistory = new ArrayList<String>();
        int generation = start;
        for (String revIdHash : ids) {
            revisionHistory.add(generation + "-" + revIdHash);
            generation--;
        }
        Collections.reverse(revisionHistory);
        return revisionHistory;
    }
792736
public void setRouteTableIds(java.util.Collection<String> routeTableIds) {
        if (routeTableIds == null) {
            this.routeTableIds = null;
            return;
        }

        this.routeTableIds = new com.amazonaws.internal.SdkInternalList<String>(routeTableIds);
    }
720907
@Override
    public <TResult> Lazy<Map<String, TResult>> load(Class<TResult> clazz, Collection<String> ids) {
        return _session.lazyLoadInternal(clazz, ids.toArray(new String[0]), _includes.toArray(new String[0]), null);
    }
274444
@RequestMapping(value = "changelog/{uuid}/issues", method = RequestMethod.GET)
    public GitChangeLogIssues changeLogIssues(@PathVariable String uuid) {
        // Gets the change log
        GitChangeLog changeLog = getChangeLog(uuid);
        // Cached?
        GitChangeLogIssues issues = changeLog.getIssues();
        if (issues != null) {
            return issues;
        }
        // Loads the issues
        issues = gitService.getChangeLogIssues(changeLog);
        // Stores in cache
        logCache.put(uuid, changeLog.withIssues(issues));
        // OK
        return issues;
    }
581953
public void setZoneIds(java.util.Collection<String> zoneIds) {
        if (zoneIds == null) {
            this.zoneIds = null;
            return;
        }

        this.zoneIds = new com.amazonaws.internal.SdkInternalList<String>(zoneIds);
    }
848292
@RequestMapping(value = "changelog/{uuid}/issues", method = RequestMethod.GET)
    public SVNChangeLogIssues changeLogIssues(@PathVariable String uuid) {
        // Gets the change log
        SVNChangeLog changeLog = getChangeLog(uuid);
        // Cached?
        SVNChangeLogIssues issues = changeLog.getIssues();
        if (issues != null) {
            return issues;
        }
        // Loads the issues
        issues = changeLogService.getChangeLogIssues(changeLog);
        // Stores in cache
        logCache.put(uuid, changeLog.withIssues(issues));
        // OK
        return issues;
    }