infovis.utils
Class CaseInsensitiveComparator

java.lang.Object
  extended by infovis.utils.CaseInsensitiveComparator
All Implemented Interfaces:
Serializable, Comparator

public class CaseInsensitiveComparator
extends Object
implements Comparator, Serializable

Class CaseInsensitiveComparator

Version:
$Revision: 1.4 $
Author:
Jean-Daniel Fekete
See Also:
Serialized Form

Field Summary
static CaseInsensitiveComparator instance
           
 
Constructor Summary
CaseInsensitiveComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
static CaseInsensitiveComparator getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

instance

public static final CaseInsensitiveComparator instance
Constructor Detail

CaseInsensitiveComparator

public CaseInsensitiveComparator()
Method Detail

getInstance

public static CaseInsensitiveComparator getInstance()

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.