public class PartialRatio extends Object implements Ratio
| Constructor and Description |
|---|
PartialRatio() |
| Modifier and Type | Method and Description |
|---|---|
int |
apply(String s1,
String s2)
Computes a partial ratio between the strings
|
int |
apply(String s1,
String s2,
StringProcessor sp)
Applies the ratio between the two strings
|
public int apply(String s1, String s2)
apply in interface Applicableapply in interface Ratios1 - Input strings2 - Input stringpublic int apply(String s1, String s2, StringProcessor sp)
RatioCopyright © 2018. All rights reserved.