Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.factual.driver;
 import java.util.List;
 import java.util.Map;
 public class Clear {
   private final Parameters queryParams = new Parameters();
   public Clear() {

Constructor for a submit with values initialized as key value pairs in mapping.
  public Clear(List<Stringfields) {
    for (String field : fields)
  protected String toUrlQuery() {
    return UrlUtil.toUrlQuery(toUrlParams());

Add the name of a field to be cleared in this request

field the field name
this Clear
  public Clear addField(String field) {
    return this;
  protected Map<StringObjecttoUrlParams() {
    return .toUrlParams(null);
New to GrepCode? Check out our FAQ X