public class MatchResult extends java.lang.Object implements java.lang.Comparable<MatchResult>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
elementName |
int |
matchingDegree |
Constructor and Description |
---|
MatchResult(java.lang.String elementName,
int matchingDegree,
boolean startMatch) |
Modifier and Type | Method and Description |
---|---|
int |
compareDegrees(MatchResult that) |
int |
compareTo(MatchResult that) |
java.lang.String |
toString() |
public final java.lang.String elementName
public final int matchingDegree
public MatchResult(java.lang.String elementName, int matchingDegree, boolean startMatch)
public int compareDegrees(MatchResult that)
public int compareTo(MatchResult that)
compareTo
in interface java.lang.Comparable<MatchResult>
public java.lang.String toString()
toString
in class java.lang.Object