|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.util.ConstantMatcher
public class ConstantMatcher
This StringMatcher matches any string or no string at all.
| Constructor Summary | |
|---|---|
ConstantMatcher(boolean matches)
Creates a new ConstantMatcher that always returns the given result. |
|
| Method Summary | |
|---|---|
boolean |
matches(java.lang.String string)
Checks whether the given string matches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantMatcher(boolean matches)
| Method Detail |
|---|
public boolean matches(java.lang.String string)
StringMatcher
matches in interface StringMatcherstring - the string to match.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||