Returns the set of servers for the given name.
@param name The name of the servers
@return The set of servers
490649
public Collection<Server> list(String name)
    {
        List<Server> ret = new ArrayList<Server>();
        Collection<Server> servers = list();
        for(Server server : servers)
        {
            if(name == null || server.getName().equals(name))
                ret.add(server);
        }
        return ret;
    }
246267
public Collection<Object> getAll(String name) {
    Object value = get(name);
    if (value == null) {
      return Collections.emptySet();
    }
    if (value instanceof Collection<?>) {
      @SuppressWarnings("unchecked")
      Collection<Object> collectionValue = (Collection<Object>) value;
      return Collections.unmodifiableCollection(collectionValue);
    }
    return Collections.singleton(value);
  }
1201478
public Collection<BrowserApplication> list(String name)
    {
        List<BrowserApplication> ret = new ArrayList<BrowserApplication>();
        Collection<BrowserApplication> applications = list();
        for(BrowserApplication application : applications)
        {
            if(name == null || application.getName().equals(name))
                ret.add(application);
        }
        return ret;
    }
536975
@NotNull
    public List<Integer> getIndexes(String name) {
        List<Integer> indexes = parametersMapping.get(name);
        if (indexes == null) {
            throw new IllegalArgumentException("Parameter not found: " + name);
        }
        return indexes;
    }
84442
public Collection<Application> list(String name)
    {
        List<Application> ret = new ArrayList<Application>();
        Collection<Application> applications = list();
        for(Application application : applications)
        {
            if(name == null || application.getName().equals(name))
                ret.add(application);
        }
        return ret;
    }
608835
public List getList(String name) {
        Object paramValues = get(name);
        if (paramValues == null) {
            return Collections.emptyList();
        }
        if (paramValues.getClass().isArray()) {
            return Arrays.asList((Object[])paramValues);
        }
        if (paramValues instanceof Collection) {
            return new ArrayList((Collection)paramValues);
        }
        return Collections.singletonList(paramValues);
    }
663916
@SuppressWarnings("unchecked")
    public <R> R get(@NotNull final String name) {
        // do some conversions for JsonObject/JsonArray
        Object o = context.get(name);

        if (o instanceof Map) {
            return (R) new JsonObject((Map) o);
        }
        if (o instanceof List) {
            return (R) new JsonArray((List) o);
        }
        return (R) o;
    }
445084
public static server[] get(nitro_service service) throws Exception{
		server obj = new server();
		server[] response = (server[])obj.get_resources(service);
		return response;
	}
203355
public static lbvserver_csvserver_binding[] get(nitro_service service, String name) throws Exception{
		lbvserver_csvserver_binding obj = new lbvserver_csvserver_binding();
		obj.set_name(name);
		lbvserver_csvserver_binding response[] = (lbvserver_csvserver_binding[]) obj.get_resources(service);
		return response;
	}
280254
public static server_servicegroup_binding[] get(nitro_service service, String name) throws Exception{
		server_servicegroup_binding obj = new server_servicegroup_binding();
		obj.set_name(name);
		server_servicegroup_binding response[] = (server_servicegroup_binding[]) obj.get_resources(service);
		return response;
	}
221063
public static tmtrafficpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
		tmtrafficpolicy_lbvserver_binding obj = new tmtrafficpolicy_lbvserver_binding();
		obj.set_name(name);
		tmtrafficpolicy_lbvserver_binding response[] = (tmtrafficpolicy_lbvserver_binding[]) obj.get_resources(service);
		return response;
	}
924847
public List<String> headerList(String name) {
		if(StrUtil.isBlank(name)) {
			return null;
		}
		
		final CaseInsensitiveMap<String,List<String>> headersIgnoreCase = new CaseInsensitiveMap<>(this.headers);
		return headersIgnoreCase.get(name.trim());
	}
257902
public static InetAddress[]
    getAllByName(String name) throws UnknownHostException {
        try {
            InetAddress addr = getByAddress(name);
            return new InetAddress[]{addr};
        } catch (UnknownHostException e) {
            Record[] records = lookupHostName(name);
            InetAddress[] addrs = new InetAddress[records.length];
            for (int i = 0; i < records.length; i++)
                addrs[i] = addrFromRecord(name, records[i]);
            return addrs;
        }
    }
64313
public static server_service_binding[] get(nitro_service service, String name) throws Exception{
		server_service_binding obj = new server_service_binding();
		obj.set_name(name);
		server_service_binding response[] = (server_service_binding[]) obj.get_resources(service);
		return response;
	}
1020971
public List<String> getUsersForRole(String name) {
        try {
            return model.model.get("g").get("g").rm.getUsers(name);
        } catch (Error e) {
            if (!e.getMessage().equals("error: name does not exist")) {
                throw e;
            }
        }
        return null;
    }
513144
public static lbgroup_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
		lbgroup_lbvserver_binding obj = new lbgroup_lbvserver_binding();
		obj.set_name(name);
		lbgroup_lbvserver_binding response[] = (lbgroup_lbvserver_binding[]) obj.get_resources(service);
		return response;
	}
1071811
private Table getTable(String name)
   {
      Table table = m_tables.get(name);
      if (table == null)
      {
         table = EMPTY_TABLE;
      }
      return table;
   }