public class ProbailityMatch<T> extends Object implements Comparable<ProbailityMatch<T>>, Serializable
Constructor and Description |
---|
ProbailityMatch(double probability,
T match) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProbailityMatch t) |
T |
getMatch() |
double |
getProbability() |
void |
setMatch(T match) |
void |
setProbability(double probability) |
public ProbailityMatch(double probability, T match)
public int compareTo(ProbailityMatch t)
compareTo
in interface Comparable<ProbailityMatch<T>>
public double getProbability()
public void setProbability(double probability)
public T getMatch()
public void setMatch(T match)
Copyright © 2017. All rights reserved.