Package com.tagtraum.beatunes.songtable
Class SongComparatorSet
- java.lang.Object
-
- com.tagtraum.beatunes.songtable.SongComparatorSet
-
public final class SongComparatorSet extends Object
A collection ofAudioSong
specificComparator
s.- Author:
- Hendrik Schreiber
- See Also:
TaskComparatorSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SongComparatorSet.NamedComparator<T>
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SongComparatorSet.NamedComparator<AudioSong>
createKeyComparatorWithTargetTempo(com.tagtraum.audiokern.bpm.Tempo targetBPM)
Creates a key comparator that first adjusts the existing keys to the keys songs would be in, if played back at the given BPM.static Comparator<AudioSong>
get(com.tagtraum.audiokern.bpm.Tempo targetTempo, String... id)
-
-
-
Field Detail
-
TOTALTIME_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TOTALTIME_COMPARATOR
AudioSong Comparator.
-
PROTECTED_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> PROTECTED_COMPARATOR
AudioSong Comparator.
-
DISABLED_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DISABLED_COMPARATOR
AudioSong Comparator.
-
YEAR_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> YEAR_COMPARATOR
AudioSong Comparator.
-
BPM_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> BPM_COMPARATOR
AudioSong Comparator.
-
SORT_BPM_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_BPM_COMPARATOR
AudioSong Comparator.
-
TEMPO_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TEMPO_COMPARATOR
AudioSong Comparator.
-
TEMPO_HSB_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TEMPO_HSB_COMPARATOR
AudioSong Comparator.
-
PLAYCOUNT_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> PLAYCOUNT_COMPARATOR
AudioSong Comparator.
-
PLAYFREQUENCY_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> PLAYFREQUENCY_COMPARATOR
AudioSong Comparator.
-
PLAYSKIPRATIO_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> PLAYSKIPRATIO_COMPARATOR
AudioSong Comparator.
-
SKIPCOUNT_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SKIPCOUNT_COMPARATOR
AudioSong Comparator.
-
ARTIST_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ARTIST_COMPARATOR
AudioSong Comparator.
-
GROUPING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> GROUPING_COMPARATOR
AudioSong Comparator.
-
ALBUM_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ALBUM_COMPARATOR
AudioSong Comparator.
-
ALBUM_ARTIST_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ALBUM_ARTIST_COMPARATOR
AudioSong Comparator.
-
GENRE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> GENRE_COMPARATOR
AudioSong Comparator.
-
NAME_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> NAME_COMPARATOR
AudioSong Comparator.
-
DESCRIPTION_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DESCRIPTION_COMPARATOR
AudioSong Comparator.
-
COLOR_HSB_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> COLOR_HSB_COMPARATOR
AudioSong Comparator.
-
COLOR_RGB_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> COLOR_RGB_COMPARATOR
AudioSong Comparator.
-
TEMPO_TIMBRE_COLOR_HSB_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TEMPO_TIMBRE_COLOR_HSB_COMPARATOR
AudioSong Comparator.
-
TEMPO_TIMBRE_COLOR_RGB_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TEMPO_TIMBRE_COLOR_RGB_COMPARATOR
AudioSong Comparator.
-
TAG_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TAG_COMPARATOR
AudioSong Comparator.
-
LANGUAGE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> LANGUAGE_COMPARATOR
AudioSong Comparator.
-
KEY_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> KEY_COMPARATOR
AudioSong Comparator.
-
BIT_RATE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> BIT_RATE_COMPARATOR
AudioSong Comparator.
-
ARTWORK_COUNT_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ARTWORK_COUNT_COMPARATOR
AudioSong Comparator.
-
COMMENT_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> COMMENT_COMPARATOR
AudioSong Comparator.
-
COMPOSER_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> COMPOSER_COMPARATOR
AudioSong Comparator.
-
DATE_ADDED_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DATE_ADDED_COMPARATOR
AudioSong Comparator.
-
DATE_ANALYZED_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DATE_ANALYZED_COMPARATOR
AudioSong Comparator.
-
DATE_MODIFIED_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DATE_MODIFIED_COMPARATOR
AudioSong Comparator.
-
DISC_NUMBER_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DISC_NUMBER_COMPARATOR
AudioSong Comparator.
-
TRACK_NUMBER_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TRACK_NUMBER_COMPARATOR
AudioSong Comparator.
-
KIND_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> KIND_COMPARATOR
AudioSong Comparator.
-
PLAY_DATE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> PLAY_DATE_COMPARATOR
AudioSong Comparator.
-
RATING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> RATING_COMPARATOR
AudioSong Comparator.
-
ALBUM_RATING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ALBUM_RATING_COMPARATOR
AudioSong Comparator.
-
SAMPLE_RATE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SAMPLE_RATE_COMPARATOR
AudioSong Comparator.
-
SHOW_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SHOW_COMPARATOR
AudioSong Comparator.
-
LOCATION_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> LOCATION_COMPARATOR
AudioSong Comparator.
-
SEASON_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SEASON_COMPARATOR
AudioSong Comparator.
-
EPISODE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> EPISODE_COMPARATOR
AudioSong Comparator.
-
SIZE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SIZE_COMPARATOR
AudioSong Comparator.
-
SORT_NAME_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_NAME_COMPARATOR
AudioSong Comparator.
-
SORT_ARTIST_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_ARTIST_COMPARATOR
AudioSong Comparator.
-
SORT_ALBUM_ARTIST_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_ALBUM_ARTIST_COMPARATOR
AudioSong Comparator.
-
SORT_ALBUM_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_ALBUM_COMPARATOR
AudioSong Comparator.
-
SORT_COMPOSER_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_COMPOSER_COMPARATOR
AudioSong Comparator.
-
SORT_SHOW_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> SORT_SHOW_COMPARATOR
AudioSong Comparator.
-
MPM_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> MPM_COMPARATOR
AudioSong Comparator.
-
TUNING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TUNING_COMPARATOR
AudioSong Comparator.
-
TRACK_REPLAYGAIN_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TRACK_REPLAYGAIN_COMPARATOR
AudioSong Comparator.
-
MOOD_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> MOOD_COMPARATOR
AudioSong Comparator.
-
MOOD_VALENCE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> MOOD_VALENCE_COMPARATOR
AudioSong Comparator.
-
MOOD_AROUSAL_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> MOOD_AROUSAL_COMPARATOR
AudioSong Comparator.
-
MOOD_CATEGORY_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> MOOD_CATEGORY_COMPARATOR
AudioSong Comparator.
-
TIME_SIGNATURE_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> TIME_SIGNATURE_COMPARATOR
AudioSong Comparator.
-
DANCEABILITY_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> DANCEABILITY_COMPARATOR
AudioSong Comparator.
-
INSTRUMENTATION_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> INSTRUMENTATION_COMPARATOR
AudioSong Comparator.
-
LIKING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> LIKING_COMPARATOR
AudioSong Comparator.
-
ALBUM_LIKING_COMPARATOR
public static final SongComparatorSet.NamedComparator<AudioSong> ALBUM_LIKING_COMPARATOR
AudioSong Comparator.
-
-
Method Detail
-
get
public static Comparator<AudioSong> get(com.tagtraum.audiokern.bpm.Tempo targetTempo, String... id)
-
createKeyComparatorWithTargetTempo
public static SongComparatorSet.NamedComparator<AudioSong> createKeyComparatorWithTargetTempo(com.tagtraum.audiokern.bpm.Tempo targetBPM)
Creates a key comparator that first adjusts the existing keys to the keys songs would be in, if played back at the given BPM.- Parameters:
targetBPM
- bpm- Returns:
- comparison result
-
-