com.endeca.portal.data.config
Class MDEXStateNameComparator

java.lang.Object
  extended by com.endeca.portal.data.config.MDEXStateNameComparator
All Implemented Interfaces:
java.util.Comparator<MDEXState>

public class MDEXStateNameComparator
extends java.lang.Object
implements java.util.Comparator<MDEXState>

Comparator used when ordering data sources, so that data sources appear alphabetically by name in the selector and elsewhere.

Author:
Endeca Technologies, Inc.

Constructor Summary
MDEXStateNameComparator()
           
 
Method Summary
 int compare(MDEXState first, MDEXState second)
           
 
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

MDEXStateNameComparator

public MDEXStateNameComparator()
Method Detail

compare

public int compare(MDEXState first,
                   MDEXState second)
Specified by:
compare in interface java.util.Comparator<MDEXState>