|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassycle.util.TrueStringPattern
public class TrueStringPattern
String pattern which return true in any case.
Constructor Summary | |
---|---|
TrueStringPattern()
|
Method Summary | |
---|---|
boolean |
matches(java.lang.String string)
Returns true independent of the argument. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrueStringPattern()
Method Detail |
---|
public boolean matches(java.lang.String string)
true
independent of the argument.
matches
in interface StringPattern
string
- String to be matched. Can be null.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |