jd.util
Class StringComparator

java.lang.Object
  extended byjd.util.StringComparator
All Implemented Interfaces:
Comparator

class StringComparator
extends Object
implements Comparator


Field Summary
 
Fields inherited from interface jd.util.Comparator
STRING_COMPARATOR
 
Constructor Summary
(package private) StringComparator()
           
 
Method Summary
 int compare(Object object1, Object object2)
          Compare the two arguments for order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringComparator

StringComparator()
Method Detail

compare

public int compare(Object object1,
                   Object object2)
Description copied from interface: Comparator
Compare the two arguments for order. Return a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Specified by:
compare in interface Comparator