public static class Operator.DefaultStringComparator extends java.lang.Object implements Operator.StringComparator
| Constructor and Description |
|---|
Operator.DefaultStringComparator(boolean ce,
boolean ccs)
Constructs a DefaultStringComparator object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.String caption,
java.lang.String match)
Compares a caption with a match using switched passed into constructor.
|
public Operator.DefaultStringComparator(boolean ce,
boolean ccs)
ce - Compare exactly. If false, text can be a substring of caption.ccs - Compare case sensitively.public boolean equals(java.lang.String caption,
java.lang.String match)
equals in interface Operator.StringComparatorcaption - String to be compared with match. Method returns false, if parameter is null.match - Sample to compare with. Method returns true, if parameter is null.