Code example for TreeSet

Methods: iterator

	 * iterate the files in ascending order by their filename 
	public Iterator<FileInfo> iterator() {
		return files.iterator();
	public Iterator<FileInfo> descendingIterator() {
		return files.descendingIterator();
	public String getId() {
		return id;
	@Override public int compareTo(PackageFileList o) {
		return -(;
	@Override public boolean equals(Object o) {
Stop searching for code, let great code find you!  Add Codota to your java IDE