com.townleyenterprises.filter
Class SortOrder

java.lang.Object
  extended bycom.townleyenterprises.filter.SortOrder
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public final class SortOrder
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

This class defines the valid collating orders for sorting operations.

Since:
2.0
Version:
$Id: SortOrder.java,v 1.3 2004/07/28 10:33:58 atownley Exp $
Author:
Andrew S. Townley
See Also:
Serialized Form

Field Summary
static SortOrder ASCENDING
           
static SortOrder DESCENDING
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASCENDING

public static final SortOrder ASCENDING

DESCENDING

public static final SortOrder DESCENDING
Method Detail

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.