Back to project page ls-vertretungsplan.
The source code is released under:
GNU General Public License
If you think the Android project ls-vertretungsplan 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.johan.vertretungsplan.comparators; // w w w . j a va 2 s . c om import java.util.Comparator; import com.johan.vertretungsplan.objects.Schule; public class DistanceSchoolComparator implements Comparator<Schule> { @Override public int compare(Schule one, Schule two) { return Double.compare(one.getDistance(), two.getDistance()); } }