Class PredicateLevenshteinClose
java.lang.Object
com.kamikazejam.kamicommon.util.predicate.PredicateLevenshteinClose
-
Constructor Summary
ConstructorsConstructorDescriptionPredicateLevenshteinClose
(String token) PredicateLevenshteinClose
(String token, int levenshteinMax) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static @NotNull PredicateLevenshteinClose
static @NotNull PredicateLevenshteinClose
static int
getLevenshteinMax
(String argument)
-
Constructor Details
-
PredicateLevenshteinClose
-
PredicateLevenshteinClose
@Contract(value="null, _ -> fail", pure=true) public PredicateLevenshteinClose(String token, int levenshteinMax)
-
-
Method Details
-
get
@Contract("_ -> new") @NotNull public static @NotNull PredicateLevenshteinClose get(@NotNull @NotNull String token) -
get
@Contract(value="_, _ -> new", pure=true) @NotNull public static @NotNull PredicateLevenshteinClose get(@NotNull @NotNull String token, int levenshteinMax) -
apply
-
getLevenshteinMax
-