Code example for HashSet

        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();
Connect your IDE to all the code out there  Get Codota for Java