Code example for Collection

Methods: isEmptyiterator

0
  /** 
   * @return The first query parameter value with the given name. 
   */ 
  public String getQueryParameter(String name) {
    Collection<String> values = queryParameters.get(name);
    if (values == null || values.isEmpty()) {
      return null; 
    } 
    return values.iterator().next();
  } 
 
  /** 
   * @return The uri fragment. 
   */ 
  public String getFragment() {
    return fragment;
  } 
 
  @Override 
  public String toString() {
Connect your IDE to all the code out there  Get Codota for Java