Class LikeMatcher
java.lang.Object
pl.decerto.hyperon.runtime.matcher.AbstractMatcher
pl.decerto.hyperon.runtime.matcher.RegexMatcher
pl.decerto.hyperon.runtime.matcher.LikeMatcher
- All Implemented Interfaces:
Matcher
- Author:
- przemek hertel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if matcher is working in reverse state.voidsetReverse(boolean reverse) Sets matcher working state.Methods inherited from class pl.decerto.hyperon.runtime.matcher.RegexMatcher
matches
-
Constructor Details
-
LikeMatcher
public LikeMatcher()
-
-
Method Details
-
isReverse
public boolean isReverse()Description copied from interface:MatcherCheck if matcher is working in reverse state. What that means is that matcher swaps
andvalue
arguments inpatternMatcher.matches(String, String, Type)method- Returns:
- true if matcher is working in reverse state
-
setReverse
public void setReverse(boolean reverse) Description copied from interface:MatcherSets matcher working state.- Parameters:
reverse- boolean telling whether matcher should work in reverse state.- See Also:
-