Package com.tagtraum.beatunes.matchlist
Class HourLimitFilter
- java.lang.Object
-
- com.tagtraum.beatunes.matchlist.LimitSongFilter
-
- com.tagtraum.beatunes.matchlist.HourLimitFilter
-
- All Implemented Interfaces:
Serializable
,Predicate<AudioSong>
public class HourLimitFilter extends LimitSongFilter
HourLimitFilter.- Author:
- Hendrik Schreiber
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tagtraum.beatunes.matchlist.LimitSongFilter
ONE_DAY, ONE_GB, ONE_HOUR, ONE_KB, ONE_MB, ONE_MINUTE, ONE_SECOND, ONE_WEEK
-
-
Constructor Summary
Constructors Constructor Description HourLimitFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
void
reset()
Resets the state of this filter.boolean
test(AudioSong song)
-
Methods inherited from class com.tagtraum.beatunes.matchlist.LimitSongFilter
equals, getLimit, hashCode, setLimit
-
-
-
-
Method Detail
-
test
public boolean test(AudioSong song)
-
reset
public void reset()
Description copied from class:LimitSongFilter
Resets the state of this filter.- Specified by:
reset
in classLimitSongFilter
-
getLabel
public String getLabel()
- Specified by:
getLabel
in classLimitSongFilter
- Returns:
- a display label for this filter
-
-