Android Open Source - notes Label Comparator

From Project

Back to project page notes.


The source code is released under:

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2004 Sam Hocevar <> Everyone is permitted to copy and distribute verbatim or...

If you think the Android project notes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.iliakplv.notes.notes;
/*from   w ww . jav a  2s . c o m*/
import java.util.Comparator;

public class LabelComparator implements Comparator<Label> {

  public int compare(Label lhs, Label rhs) {
    return lhs.getName().compareToIgnoreCase(rhs.getName());


Java Source Code List