Back to project page MaterialManager.
The source code is released under:
There is no license, someone decided to pretty much republish Cabinet with no credit so I?m taking away the license altogether.
If you think the Android project MaterialManager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.afollestad.cabinet.comparators; // ww w. j a va2 s .c o m import com.afollestad.cabinet.file.base.File; /** * Sorts files and folders by name, alphabetically. * * @author Aidan Follestad (afollestad) */ public class AlphabeticalComparator implements java.util.Comparator<File> { @Override public int compare(File lhs, File rhs) { return lhs.getName().compareToIgnoreCase(rhs.getName()); } }