Code example for TreeSet

Methods: clear

0
        memento.putString("profiles", Util.join(getProfilesWithoutVendor(vendors), ","));
        memento.putInteger("require", required ? REQUIRE : DISALLOW);
    } 
 
    public void clear() { 
        profiles.clear();
    } 
 
    public IProfile[] getProfiles() { 
        return profiles.toArray(new IProfile[profiles.size()]);
    } 
 
    public String getFactoryId() {
        return ProfileFilterFactory.ID; 
    } 
 
 
}