Code example for TreeSet

Methods: size, toArray

0
    public void clear() { 
        profiles.clear();
    } 
 
    public IProfile[] getProfiles() { 
        return profiles.toArray(new IProfile[profiles.size()]);
    } 
 
    public String getFactoryId() {
        return ProfileFilterFactory.ID; 
    } 
 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE