Code example for TreeSet

Methods: addAll

0
		ProfileDBLineHandler lh = runProfileDb(new ArrayList<String>(
				Arrays.asList(new String[] { "-g", "+" })));
		vendors.clear();
		vendors.putAll(lh.result.families);
		capabilities.addAll(lh.result.capabilities);
		permissions.addAll(lh.result.permissions);
		capabilitiesForProfiles = lh.result.capabilitiesForProfiles;
		// Ok, give us some mappings! 
		ProfileDBResult matchResult = match("+", new String[0], new String[0]);
		profilesForRuntime = matchResult.profilesForRuntime;
	} 
 
	public static boolean isAvailable() { 
		return getTool().toFile().exists(); 
	} 
 
	private static IPath getTool() { 
		IPath profiledb = MoSyncTool.getDefault().getBinary("profiledb");
		return profiledb;
	}