ontopoly.utils
Class TopicComparator

java.lang.Object
  extended by ontopoly.utils.TopicComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<Topic>

public class TopicComparator
extends java.lang.Object
implements java.util.Comparator<Topic>, java.io.Serializable

See Also:
Serialized Form

Field Summary
static TopicComparator INSTANCE
           
 
Method Summary
 int compare(Topic t1, Topic t2)
           
 
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

INSTANCE

public static final TopicComparator INSTANCE
Method Detail

compare

public int compare(Topic t1,
                   Topic t2)
Specified by:
compare in interface java.util.Comparator<Topic>


Copyright © 2000-2012 Ontopia.