at.molindo.mysqlcollations
Class MySqlCollator

java.lang.Object
  extended by at.molindo.mysqlcollations.MySqlCollator
All Implemented Interfaces:
Serializable, Cloneable, Comparator<String>

public class MySqlCollator
extends Object
implements Comparator<String>, Serializable, Cloneable

See Also:
Serialized Form

Method Summary
 MySqlCollator clone()
           
 int compare(String source, String target)
           
 boolean equals(String source, String target)
           
 MySqlCollationKey getCollationKey(String source)
           
 String normalize(String string)
          use lowest character of same weight for each character
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Method Detail

compare

public int compare(String source,
                   String target)
Specified by:
compare in interface Comparator<String>

equals

public boolean equals(String source,
                      String target)

getCollationKey

public MySqlCollationKey getCollationKey(String source)

normalize

public String normalize(String string)
use lowest character of same weight for each character


clone

public MySqlCollator clone()
Overrides:
clone in class Object


Copyright © 2011 Molindo GmbH. All Rights Reserved.