Suggest map.

@param string  the string
@param maxCost the max cost
@return the map
342208
public Map<String, Integer> suggest(String string, int maxCost) {
      return suggest(string, maxCost, 1);
   }
658767
public CacheControl hint(ExecutionPath path, Integer maxAge) {
        return hint(path, maxAge, Scope.PUBLIC);
    }
732569
protected Map<Long, Map<String, String>> getRequestAnswerMap(RequestContext requestContext) {
    @SuppressWarnings("unchecked")
    Map<Long,Map<String,String>> answers = (Map<Long,Map<String,String>>) requestContext.getRequest().getAttribute("commentAnswers");
    if (answers == null) {
      answers = new HashMap<>();
      requestContext.getRequest().setAttribute("commentAnswers", answers);
    }
    
    return answers;
  }
293818
public void setMaxConcurrency(final String maxConcurrency) {

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) {
            SibTr.debug(this, TRACE, "MaxConcurrency", maxConcurrency);
        }
        _maxConcurrency = (maxConcurrency == null ? null : Integer.valueOf(maxConcurrency));

    }
734347
private static String[] determineDescription(CliDeclaredOptionSpec cliCommand, boolean fullDescription, int maxTextWidth) {
        final List<String> descriptions = formatOptionDescription(cliCommand, maxTextWidth);
        if (!fullDescription && descriptions.size() > 1) {
            return new String[] {getFirst(descriptions) + " (...more)"};
        } else {
            return descriptions.toArray(new String[]{});
        }
    }
1077171
@Override
    public List<Metric> filter(Map<Metric, String> extendedSortedMap, String limit) {
        SystemAssert.requireArgument(extendedSortedMap != null && !extendedSortedMap.isEmpty(), "New map is not constructed successfully!");
        SystemAssert.requireArgument(limit != null && !limit.equals(""), "Limit must be provided!");

        List<Metric> result = new ArrayList<Metric>();

        for (Metric metric : extendedSortedMap.keySet()) {
            result.add(0, metric);
        }
        if (result.size() <= Integer.parseInt(limit)) {
            return result;
        }
        return result.subList(0, Integer.parseInt(limit));
    }
765435
function mapCacheSet(key, value) {
  var data = _getMapData(this, key),
      size = data.size;

  data.set(key, value);
  this.size += data.size == size ? 0 : 1;
  return this;
}
700509
public CacheControl hint(ExecutionPath path, Integer maxAge, Scope scope) {
        assertNotNull(path);
        assertNotNull(scope);
        hints.add(new Hint(path.toList(), maxAge, scope));
        return this;
    }
187371
public AVIMConversationsQuery whereWithinMiles(String key, AVGeoPoint point, double maxDistance) {
    conditions.whereWithinMiles(key, point, maxDistance);
    return this;
  }
873239
public List<String> suggestTagValues(final String search,
      final int max_results) {
    return tag_values.suggest(search, max_results);
  }
753529
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2563")
  public CallOptions withMaxOutboundMessageSize(int maxSize) {
    checkArgument(maxSize >= 0, "invalid maxsize %s", maxSize);
    CallOptions newOptions = new CallOptions(this);
    newOptions.maxOutboundMessageSize = maxSize;
    return newOptions;
  }
928785
public void setMaxBatchSize(final String maxBatchSize) {

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) {
            SibTr.debug(this, TRACE, "MaxBatchSize", maxBatchSize);
        }
        _maxBatchSize = (maxBatchSize == null ? null : Integer.valueOf(maxBatchSize));

    }
1116263
protected <T> T map(Config config, Class<T> clazz) {
    return map(config, null, null, clazz);
  }
1261390
void addAveMapSlotRefillMsecs(int refillMsecs) {
    synchronized (mapSlotRefillMsecsQueue) {
      mapSlotRefillMsecsQueue.add(refillMsecs);
      if (mapSlotRefillMsecsQueue.size() >= maxRefillQueueSize) {
        mapSlotRefillMsecsQueue.remove();
      }
    }
  }
793030
public static Map formatMap(Map conditionMap) {
        Map formattedMap = new HashMap();
        formattedMap.putAll(conditionMap);
        forSpecialValue(formattedMap);
        return formattedMap;
    }
279482
public static <T extends Key <T>> GroupMatcher <T> groupContains (final String compareTo)
  {
    return new GroupMatcher <> (compareTo, StringOperatorName.CONTAINS);
  }
1351660
protected void recommendFrom(String label, Set<BindingElement> source, Set<Binding> current) {
		this.bindingFactory.setName(getName());
		boolean hasRecommend = false;
		for (final BindingElement sourceElement : source) {
			final Binding wrapElement = this.bindingFactory.toBinding(sourceElement);
			if (!current.contains(wrapElement)) {
				if (!hasRecommend) {
					LOG.info(MessageFormat.format("Begin recommendations for {0}", //$NON-NLS-1$
							label));
					hasRecommend = true;
				}
				LOG.warn(MessageFormat.format("\t{1}", //$NON-NLS-1$
						label, sourceElement.getKeyString()));
			}
		}
		if (hasRecommend) {
			LOG.info(MessageFormat.format("End recommendations for {0}", //$NON-NLS-1$
					label));
		} else {
			LOG.info(MessageFormat.format("No recommendation for {0}", //$NON-NLS-1$
					label));
		}
	}