public ImageReuseInfo create(String thisSize) {
    """
	Find out the size list can be re-sued.
	
	@param thisSize if "small_180" is input
	@return {"big_360", "big_720"} will be returned.
    """
        ArrayList<String> list = new ArrayList<String>();
        boolean canBeReused = false;
        for (int i = 0; i < mSizeList.length; i++) {
            String size = mSizeList[i];

            if (!canBeReused && thisSize.equals(size)) {
                canBeReused = true;
                continue;
            }
            if (canBeReused && !thisSize.equals(size)) {
                list.add(size);
            }
        }
        if (list.size() == 0) {
            return new ImageReuseInfo(thisSize, null);
        } else {
            String[] sizeList = new String[list.size()];
            list.toArray(sizeList);
            return new ImageReuseInfo(thisSize, sizeList);
        }
    }
public ImageReuseInfo create(String thisSize) {
        ArrayList<String> list = new ArrayList<String>();
        boolean canBeReused = false;
        for (int i = 0; i < mSizeList.length; i++) {
            String size = mSizeList[i];

            if (!canBeReused && thisSize.equals(size)) {
                canBeReused = true;
                continue;
            }
            if (canBeReused && !thisSize.equals(size)) {
                list.add(size);
            }
        }
        if (list.size() == 0) {
            return new ImageReuseInfo(thisSize, null);
        } else {
            String[] sizeList = new String[list.size()];
            list.toArray(sizeList);
            return new ImageReuseInfo(thisSize, sizeList);
        }
    }
public ImageReuseInfo create ( String thisSize ) { ArrayList < String > list = new ArrayList < String > ( ) ; boolean canBeReused = false ; for ( int i = 0 ; i < mSizeList . length ; i ++ ) { String size = mSizeList [ i ] ; if ( ! canBeReused && thisSize . equals ( size ) ) { canBeReused = true ; continue ; } if ( canBeReused && ! thisSize . equals ( size ) ) { list . add ( size ) ; } } if ( list . size ( ) == 0 ) { return new ImageReuseInfo ( thisSize , null ) ; } else { String [ ] sizeList = new String [ list . size ( ) ] ; list . toArray ( sizeList ) ; return new ImageReuseInfo ( thisSize , sizeList ) ; } }
Find out the size list can be re-sued.

@param thisSize if "small_180" is input
@return {"big_360", "big_720"} will be returned.
Find out the size list can be re - sued .