
org.nameapi.client.services.nameparser.fieldnameparser.Match Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nameapi-client Show documentation
Show all versions of nameapi-client Show documentation
Java Client for the NameAPI Web Service.
The newest version!
package org.nameapi.client.services.nameparser.fieldnameparser;
import com.google.common.collect.ImmutableList;
import org.nameapi.ontology5.cremalang.annotation.Immutable;
import java.util.List;
/**
*/
@Immutable
public class Match {
private final List matchItems;
private final double likeliness;
public Match(List matchItems, double likeliness) {
this.matchItems = ImmutableList.copyOf(matchItems);
this.likeliness = likeliness;
}
/**
*/
public List getMatchItems() {
return matchItems;
}
/**
* @return 0-1
*/
public double getLikeliness() {
return likeliness;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy