public boolean contains(StrMatcher matcher) { return indexOf(matcher, 0) >= 0;
public boolean contains(char ch) { char[] thisBuf = buffer; for (int i = 0; i < this.size; i++) { if (thisBuf[i] == ch) { return true; } } return false;
    public boolean contains(StrMatcher matcher) {        return indexOf(matcher, 0) >= 0;    }