com.silverpeas.mydb.data.index
Class IndexElementComparator
java.lang.Object
  
com.silverpeas.mydb.data.index.IndexElementComparator
- All Implemented Interfaces: 
 - Comparator<IndexElement>
 
public class IndexElementComparator
- extends Object
- implements Comparator<IndexElement>
  
IndexElement comparator. Elements are sorted by their names if they are different, else sorted by
 their position index.
- Author:
 
  - Antoine HEDIN
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
IndexElementComparator
public IndexElementComparator()
compare
public int compare(IndexElement element1,
                   IndexElement element2)
- Specified by:
 compare in interface Comparator<IndexElement>
 
 
Copyright © 2016 Silverpeas. All Rights Reserved.