public class MatchResult implements Comparable
Class MatchResult. Provides matchresult functionality for the Hytale server.
java.lang.Object > MatchResult
Field Summary
that
final
MatchResult
that
Field that.
Method Detail
of
static
MatchResult
of
(final int termDepth, final int depth, final int type, @Nonnull final String text, @Nonnull final String search)
Method of.
- Parameters:
final inttermDepthfinal intdepthfinal inttype@Nonnull final Stringtext@Nonnull final Stringsearch
MatchResult
public
new
MatchResult
(termDepth, depth, type, StringCompareUtil.getLevenshteinDistance(text, search)
Method MatchResult.
- Parameters:
termDepthtermDepthdepthdepthtypetypeStringCompareUtil.getLevenshteinDistance(textStringCompareUtil.getLevenshteinDistance(textsearchsearch
getDepth
public
int
getDepth
()
Method getDepth.
getType
public
int
getType
()
Method getType.
getMatch
public
int
getMatch
()
Method getMatch.
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.