org.ferris.journal.gui.data
Class JournalEntryComparator

java.lang.Object
  extended by org.ferris.journal.gui.data.JournalEntryComparator
All Implemented Interfaces:
Comparator<JournalEntry>

public class JournalEntryComparator
extends Object
implements Comparator<JournalEntry>


Field Summary
static Comparator<JournalEntry> CREATED_ON_ASC
           
static Comparator<JournalEntry> CREATED_ON_DESC
           
static Comparator<JournalEntry> DAY_ASC
           
static Comparator<JournalEntry> DAY_DESC
           
 
Constructor Summary
JournalEntryComparator()
           
 
Method Summary
 int compare(JournalEntry o1, JournalEntry o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

CREATED_ON_ASC

public static Comparator<JournalEntry> CREATED_ON_ASC

CREATED_ON_DESC

public static Comparator<JournalEntry> CREATED_ON_DESC

DAY_ASC

public static Comparator<JournalEntry> DAY_ASC

DAY_DESC

public static Comparator<JournalEntry> DAY_DESC
Constructor Detail

JournalEntryComparator

public JournalEntryComparator()
Method Detail

compare

public int compare(JournalEntry o1,
                   JournalEntry o2)
Specified by:
compare in interface Comparator<JournalEntry>


Copyright © March 15, 2008-2011 The Ferris Foundation. All Rights Reserved.