Android Open Source - MyLibReminder Loan Comparator

From Project

Back to project page MyLibReminder.


The source code is released under:

Apache License

If you think the Android project MyLibReminder 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.geonnave.mylibreminder;
//  w  w w .  j  ava 2  s .c  o  m
import java.util.Comparator;

public class LoanComparator implements Comparator<Loan> {

  public int compare(Loan lhs, Loan rhs) {
    // TODO Auto-generated method stub
    return lhs.getDate().compareTo(rhs.getDate());


Java Source Code List