net.ontopia.topicmaps.utils
Class TopicComparators.CaseInsensitiveStringifierComparator

java.lang.Object
  extended by net.ontopia.topicmaps.utils.TopicComparators.CaseInsensitiveStringifierComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
TopicComparators

public static class TopicComparators.CaseInsensitiveStringifierComparator
extends java.lang.Object
implements java.util.Comparator

INTERNAL: Case in-sensitive string comparator that is able to handle null values.


Field Summary
protected  StringifierIF stringifier
           
 
Constructor Summary
TopicComparators.CaseInsensitiveStringifierComparator(StringifierIF stringifier)
           
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
           
 
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
 

Field Detail

stringifier

protected StringifierIF stringifier
Constructor Detail

TopicComparators.CaseInsensitiveStringifierComparator

public TopicComparators.CaseInsensitiveStringifierComparator(StringifierIF stringifier)
Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2000-2012 Ontopia.