Code example for TreeSet

Methods: isEmpty

0
	public PackageFileList(String id) {
		this.id = id;
	} 
 
	public boolean isEmpty() { 
		return files.isEmpty();
	} 
 
	public void add(FileInfo file) {
		file.clean();
		files.add(file);
	} 
 
	public void remove(FileInfo file) {
		file.clean();
		files.remove(file);
	} 
 
	public int size() { 
		return files.size();
Connect your IDE to all the code out there  Get Codota for Java