public class PodcastComparator extends Object implements Comparator
| Constructor and Description |
|---|
PodcastComparator(String property,
boolean ascending)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
First check if release dates set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic PodcastComparator(String property, boolean ascending)
property - The property name used for the sort.asc - true if the sort is to be ascending (false for descending).public int compare(Object o1, Object o2)
compare in interface ComparatorCopyright © 2004-2015 Sakai Project. All Rights Reserved.