private abstract static class TextHashFunctions.Hash extends RawTextComparator
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
name |
DEFAULT, WS_IGNORE_ALL, WS_IGNORE_CHANGE, WS_IGNORE_LEADING, WS_IGNORE_TRAILING| Modifier | Constructor and Description |
|---|---|
private |
Hash() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RawText a,
int ai,
RawText b,
int bi)
Compare two items to determine if they are equivalent.
|
hash, hashRegion, reduceCommonStartEndpublic boolean equals(RawText a, int ai, RawText b, int bi)
SequenceComparatora with itself (by passing
a again in position b).equals in class SequenceComparator<RawText>a - the first sequence.ai - item of ai to compare.b - the second sequence.bi - item of bi to compare.