org.mmbase.util
Class StringCompare

java.lang.Object
  extended by org.mmbase.util.StringCompare
All Implemented Interfaces:
CompareInterface

Deprecated. Should implement java.util.Comparator, or should not exist, because this is java.lang.String's 'natural' order.

public class StringCompare
extends Object
implements CompareInterface

Class to compare two strings, used by SortedVector.

Version:
$Id: StringCompare.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Rico Jansen
See Also:
SortedVector, CompareInterface

Constructor Summary
StringCompare()
          Deprecated.  
 
Method Summary
 int compare(Object thisone, Object other)
          Deprecated. The compare function called by SortedVector to sort things
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCompare

public StringCompare()
Deprecated. 
Method Detail

compare

public int compare(Object thisone,
                   Object other)
Deprecated. 
The compare function called by SortedVector to sort things

Specified by:
compare in interface CompareInterface
See Also:
SortedVector, CompareInterface


MMBase 2.0-SNAPSHOT - null