Code example for ArrayList

Methods: add

0
        widthAndHeightMap.put("file:" + file, new Point(width, height));
    } 
 
    private static String stringify(BitmapFactory.Options options) {
        if (options == null) return "";
        List<String> opts = new ArrayList<String>();
 
        if (options.inJustDecodeBounds) opts.add("inJustDecodeBounds");
        if (options.inSampleSize > 1) opts.add("inSampleSize=" + options.inSampleSize);
 
        return Join.join(", ", opts);
    } 
 
    public static void reset() { 
        widthAndHeightMap.clear();
    } 
}