sk.baka.ambient.collection
Class CollectionUtils.AlbumOrderComparator

java.lang.Object
  extended by sk.baka.ambient.collection.CollectionUtils.AlbumOrderComparator
All Implemented Interfaces:
Comparator<TrackMetadataBean>
Enclosing class:
CollectionUtils

protected static final class CollectionUtils.AlbumOrderComparator
extends Object
implements Comparator<TrackMetadataBean>

Orders the tracks by albums, track number and finally by displayable name.

Author:
Martin Vysny

Constructor Summary
protected CollectionUtils.AlbumOrderComparator()
           
 
Method Summary
 int compare(TrackMetadataBean object1, TrackMetadataBean object2)
           
 
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

CollectionUtils.AlbumOrderComparator

protected CollectionUtils.AlbumOrderComparator()
Method Detail

compare

public int compare(TrackMetadataBean object1,
                   TrackMetadataBean object2)
Specified by:
compare in interface Comparator<TrackMetadataBean>


Copyright © 2007-2008. All Rights Reserved.