public class BeanComparator extends Object implements Comparator, Serializable
BeanSorter
,
Serialized FormConstructor and Description |
---|
BeanComparator(SortCriteria sortCriteria) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object objectA,
Object objectB) |
SortCriteria |
getSortCriteria()
Returns the current sortCriteria value
|
void |
setSortCriteria(SortCriteria sortCriteria)
Sets the new sortCriteria value
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public BeanComparator(SortCriteria sortCriteria)
sortCriteria
- public int compare(Object objectA, Object objectB)
compare
in interface Comparator
Comparator.compare(Object, Object)
public SortCriteria getSortCriteria()
public void setSortCriteria(SortCriteria sortCriteria)
sortCriteria
- Copyright © 2003–2014 AndroMDA.org. All rights reserved.