config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java
public String getParameter(final String name)
   {
      List<String> values = parameters.get(name);
      if (values == null)
      {
         return null;
      }

      if (values.size() == 0)
      {
         return "";
      }

      return values.get(0);
   }
public String getParameter(final String name)
   {
      List<String> values = parameters.get(name);
      if (values == null)
      {
         return null;
      }

      if (values.size() == 0)
      {
         return "";
      }

      return values.get(0);
   }
Get the first value of given parameter name.

@return The value of the parameter, null if the parameter does not exist, or "" if the parameter exists but has no
values.