Package com.tagtraum.core
Interface Matcher<T,M>
-
- All Known Implementing Classes:
AudioSongMatcher
public interface Matcher<T,M>Matcher.- Author:
- Hendrik Schreiber
- See Also:
Matchable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatch(T t, Pattern[] patterns, M matchMode)True, if the given object t matches all provided patters (logical AND).
-
-
-
Method Detail
-
match
boolean match(T t, Pattern[] patterns, M matchMode)
True, if the given object t matches all provided patters (logical AND).- Parameters:
t- object that may match patternspatterns- patternsmatchMode- specifies a particular way in which the match should occur- Returns:
- true if the given object matches.
-
-