Created
April 25, 2016 07:44
-
-
Save reciprocum/974bffaad0090505cc9de1daa3573b59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static <T extends Track> | |
List<String> | |
getTrackNamesSortedAlphabeticaly( final Iterable<T> trks | |
, final Units units | |
, List<T> trksSorted // Optional output parameter | |
) | |
{ | |
return NamedUtils | |
.getNamesSortedDecorated( trks | |
, TrackComparator.NAME // Sort by ascending track name. | |
, null // No decorators | |
, trksSorted | |
) ; | |
} | |
public static <T extends Track> | |
List<String> | |
getTrackNamesSortedAlphabeticaly__LengthTypeArity( final Iterable<T> trks | |
, final Units units | |
, List<T> trksSorted // Optional output parameter | |
) | |
{ | |
return NamedUtils | |
.getNamesSortedDecorated( trks | |
, TrackComparator.NAME // Sort by ascending track name. | |
, new TrackDecorator_LengthTypeArity( units ) // Decorate with (length, type) info | |
, trksSorted | |
) ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment