ApplicablePartialRatio, SimpleRatiopublic interface Ratio extends Applicable
| Modifier and Type | Method | Description |
|---|---|---|
int |
apply(String s1,
String s2) |
Applies the ratio between the two strings
|
int |
apply(String s1,
String s2,
ToStringFunction<String> sp) |
Applies the ratio between the two strings
|
int apply(String s1, String s2)
apply in interface Applicables1 - Input strings2 - Input stringint apply(String s1, String s2, ToStringFunction<String> sp)
s1 - Input strings2 - Input stringsp - String processor to pre-process strings before calculating the ratioCopyright © 2018. All rights reserved.