All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.factual.driver.ResolveResponse Maven / Gradle / Ivy

The newest version!
package com.factual.driver;

import java.util.Map;

public class ResolveResponse extends ReadResponse {

  public ResolveResponse(InternalResponse resp) {
    super(resp);
  }

  public Map getResolved() {
    if (isResolved())
      return getData().get(0);
    else
      return null;
  }

  public boolean isResolved() {
    return getData().size() > 0
    && Boolean.TRUE.equals(getData().get(0).get("resolved"));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy