|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.sort.AttributeComparator
public class AttributeComparator
| Constructor Summary | |
|---|---|
AttributeComparator(java.lang.String strSortedAttribute)
Constructor |
|
AttributeComparator(java.lang.String strSortedAttribute,
boolean bIsASC)
Constructor |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare two objects o1 and o2. |
| 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 |
|---|
public AttributeComparator(java.lang.String strSortedAttribute,
boolean bIsASC)
strSortedAttribute - the name of the attribute on which the sort will be madebIsAsc - true for the ASC order, false for the DESC orderpublic AttributeComparator(java.lang.String strSortedAttribute)
strSortedAttribute - the name of the attribute on which the sort will be madebIsAsc - true for the ASC order, false for the DESC order| Method Detail |
|---|
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator<java.lang.Object>o1 - Objecto2 - Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||