|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmagoffin.matt.ma2.util.AlbumSorter
public class AlbumSorter
Comparator for Album objects.
| Nested Class Summary | |
|---|---|
static class |
AlbumSorter.SortMode
Sort mode. |
| Constructor Summary | |
|---|---|
AlbumSorter(AlbumSorter.SortMode mode,
boolean reverse)
Construct from a SortMode and reverse flag. |
|
| Method Summary | |
|---|---|
int |
compare(Album o1,
Album 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 AlbumSorter(AlbumSorter.SortMode mode,
boolean reverse)
mode - the sorting modereverse - flag indicating a reverse sort| Method Detail |
|---|
public int compare(Album o1,
Album o2)
compare in interface java.util.Comparator<Album>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||