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; 
    } 
 
 
}