Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class StringComparator

java.lang.Object
  extended by com.liferay.portal.kernel.util.StringComparator
All Implemented Interfaces:
Serializable, Comparator<String>

public class StringComparator
extends Object
implements Comparator<String>, Serializable

See Also:
Serialized Form

Constructor Summary
StringComparator()
           
StringComparator(boolean ascending, boolean caseSensitive)
           
 
Method Summary
 int compare(String s1, String s2)
           
 
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
 

Constructor Detail

StringComparator

public StringComparator()

StringComparator

public StringComparator(boolean ascending,
                        boolean caseSensitive)
Method Detail

compare

public int compare(String s1,
                   String s2)
Specified by:
compare in interface Comparator<String>

Liferay 6.1.2-ce-ga3