Code example for HashSet

0
        public ButterflyModule  module;
        public String           path;
        public String           fullPath;
    } 
    static public class ClientSideResourceBundle { 
        final protected Set<String>     _pathSet = new HashSet<String>();
        final protected List<QualifiedPath>      _pathList = new ArrayList<QualifiedPath>();
    } 
     
    final static protected Map<String, ClientSideResourceBundle> s_bundles
        = new HashMap<String, ClientSideResourceBundle>();
     
    static public void addPaths( 
        String bundleName, 
        ButterflyModule module, 
        String[] paths) {
         
        ClientSideResourceBundle bundle = s_bundles.get(bundleName);
        if (bundle == null) {
            bundle = new ClientSideResourceBundle();
            s_bundles.put(bundleName, bundle);