public abstract class AddressStringTerm extends StringTerm
Note that this class differs from the
in that this class does comparisons on address strings rather than
|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
Check whether the address pattern specified in the constructor is a substring of the string representation of the given Address object.
getIgnoreCase, getPattern, hashCode, match
protected AddressStringTerm(String pattern)
pattern- the address pattern to be compared.
protected boolean match(Address a)
Note that if the string representation of the given Address object contains charset or transfer encodings, the encodings must be accounted for, during the match process.
a- The comparison is applied to this Address object.
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.