Code example for LinkedList

Methods: clear

0
    public LinkedList<TextRect> getRects() {
        return new LinkedList<TextRect>(mRects);
    } 
 
    public void clearRects() { 
        mRects.clear();
    } 
 
    public void addRect(String text, Rect rect) {
        if (text != null && rect != null) {
            TextRect entry = new TextRect(text, rect);
            mRects.add(entry);
        } 
    } 
 
    protected Matrix getScalingMatrix() {
        return mMatrix;
    } 
 
    @Override 
Contextual code suggestions in your IDE  Get Codota for Java