com.lowagie.text

Class StringCompare

Implemented Interfaces:
Comparator

public class StringCompare
extends java.lang.Object
implements Comparator

This class was used in the 1.1-version of iText (by Volker Richert). Paulo Soares suggested I should add it to the original library, so that in the future it would be easier to port it to the JDK1.1.x.

Method Summary

int
compare(Object o1, Object o2)
Compares 2 objects.

Method Details

compare

public int compare(Object o1,
                   Object o2)
Compares 2 objects.
Parameters:
o1 - a first object
o2 - a second object
Returns:
a value