de.hedenus.mobilegui
Class StringSearcher

java.lang.Object
  extended by de.hedenus.mobilegui.StringSearcher
All Implemented Interfaces:
java.util.Comparator

public class StringSearcher
extends java.lang.Object
implements java.util.Comparator

A comparator for strings.

Author:
Michael Hedenus

Constructor Summary
StringSearcher()
           
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
          Compares objects and/or strings according to the toString(Object) implementation ignoring case.
 java.lang.String toString(java.lang.Object item)
          Used to generate string representation.
 
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

StringSearcher

public StringSearcher()
Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Compares objects and/or strings according to the toString(Object) implementation ignoring case.

Specified by:
compare in interface java.util.Comparator

toString

public java.lang.String toString(java.lang.Object item)
Used to generate string representation.