|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.ma2.util.MediaItemSorter
public class MediaItemSorter
Comparator for MediaItem objects.
Nested Class Summary | |
---|---|
static class |
MediaItemSorter.SortMode
Sort mode. |
Constructor Summary | |
---|---|
MediaItemSorter()
Default constructor. |
|
MediaItemSorter(int modeFlag)
Construct with a SortMode mode flag. |
|
MediaItemSorter(MediaItemSorter.SortMode mode)
Construct with a SortMode. |
Method Summary | |
---|---|
int |
compare(MediaItem o1,
MediaItem 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 MediaItemSorter()
public MediaItemSorter(MediaItemSorter.SortMode mode)
mode
- the modepublic MediaItemSorter(int modeFlag)
modeFlag
- the mode flagMethod Detail |
---|
public int compare(MediaItem o1, MediaItem o2)
compare
in interface java.util.Comparator<MediaItem>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |