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

org.nameapi.client.services.nameparser.fieldnameparser.Match Maven / Gradle / Ivy

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