package com.novoda.simplechromecustomtabs.demo.linkify;

class MatchedUrl {

    final String url;
    final int start;
    final int end;

    MatchedUrl(String url, int start, int end) {
        this.url = url;
        this.start = start;
        this.end = end;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        MatchedUrl that = (MatchedUrl) o;

        if (start != that.start) {
            return false;
        }
        if (end != that.end) {
            return false;
        }
        return url != null ? url.equals(that.url) : that.url == null;

    }

    @Override
    public int hashCode() {
        int result = url != null ? url.hashCode() : 0;
        result = 31 * result + start;
        result = 31 * result + end;
        return result;
    }
}

@@ -927,11 +927,225 @@
 t;%0A    %7D
+%0A%0A    @Override%0A    public String  toString() %7B%0A        return %22MatchedUrl%7B%22 +%0A                %22url='%22 + url + '%5C'' +%0A                %22, start=%22 + start +%0A                %22, end=%22 + end +%0A                '%7D';%0A    %7D
 %0A%7D%0A

Add toString() in MatchedUrl