Code example for SparseArray

Methods: clear

0
        private static final long serialVersionUID = 1705583377032327225L;
    } 
 
    /* package */void clear() { 
        matcher = new UriMatcher(UriMatcher.NO_MATCH);
        uriToUrl.clear();
        code = 0;
        transformer = null;
    } 
 
    public interface Transformer<T> { 
        T onResponse(Uri uri, T object);
    } 
 
    public void setTransformer(Transformer<T> transformer) {
        this.transformer = transformer;
    } 
}