org.melati.poem.util
Class DictionaryOrder

Package class diagram package DictionaryOrder
java.lang.Object
  extended by org.melati.poem.util.DictionaryOrder
All Implemented Interfaces:
Order

public class DictionaryOrder
extends Object
implements Order

An ordering using String.compareTo.


Field Summary
static DictionaryOrder vanilla
          Standard ordering.
 
Constructor Summary
DictionaryOrder()
           
 
Method Summary
 boolean lessOrEqual(Object a, Object b)
          Whether A is less than or equal to B.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vanilla

public static DictionaryOrder vanilla
Standard ordering.

Constructor Detail

DictionaryOrder

public DictionaryOrder()
Method Detail

lessOrEqual

public boolean lessOrEqual(Object a,
                           Object b)
Whether A is less than or equal to B.

Specified by:
lessOrEqual in interface Order
Parameters:
a - A
b - B
Returns:
true if a is less than or equal to b
See Also:
Order.lessOrEqual(java.lang.Object, java.lang.Object)


Copyright © 2000-2010 PanEris. All Rights Reserved.