Android Open Source - MyLibReminder Loan Comparator






From Project

Back to project page MyLibReminder.

License

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> {

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

}




Java Source Code List

com.geonnave.mylibreminder.AddLoan.java
com.geonnave.mylibreminder.AlarmReceiverActivity.java
com.geonnave.mylibreminder.LoanAlarmReceiver.java
com.geonnave.mylibreminder.LoanComparator.java
com.geonnave.mylibreminder.LoanDAO.java
com.geonnave.mylibreminder.Loan.java
com.geonnave.mylibreminder.MainActivity.java
com.geonnave.mylibreminder.PersistenceHelper.java