Code example for Set

Methods: add

0
        bitmaps.add("image/x-raw");
        bitmaps.add("image/x-windows-bmp");
        bitmaps.add("image/vnd.wap.wbmp");
         
        vectors = new HashSet<String>();
        vectors.add("image/cgm");
        vectors.add("image/x-emf");
        vectors.add("image/tex");
        vectors.add("application/pdf");
        vectors.add("application/postscript");
        vectors.add("image/svg+xml");
        vectors.add("application/x-shockwave-flash");
         
        others = new HashSet<String>();
        others.add("application/java");
    } 
     
    private MimeTypes() { 
    } 
     
    public static boolean isBitmap(String mimeType) {