net.ontopia.topicmaps.nav.utils.comparators
Class AssociationIDComparator

java.lang.Object
  extended by net.ontopia.topicmaps.nav.utils.comparators.AssociationIDComparator
All Implemented Interfaces:
java.util.Comparator

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

INTERNAL: A Comparator for ordering AssociationIFs after their ID.

Since:
1.2.5

Field Summary
protected  java.util.Comparator ac
           
 
Constructor Summary
AssociationIDComparator()
          Default constructor.
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two AssociationIFs.
 
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

ac

protected java.util.Comparator ac
Constructor Detail

AssociationIDComparator

public AssociationIDComparator()
Default constructor.

Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two AssociationIFs.

Specified by:
compare in interface java.util.Comparator


Copyright © 2000-2012 Ontopia.