public class Matches
extends java.lang.Object
Constructor and Description |
---|
Matches(char matchChar,
Matches nextNode) |
Modifier and Type | Method and Description |
---|---|
static boolean |
doesMatch(java.lang.String pattern,
java.lang.String operand)
Main method determines whether the operand matches the pattern given.
|
java.lang.String |
toString() |
public Matches(char matchChar, Matches nextNode)
public static final boolean doesMatch(java.lang.String pattern, java.lang.String operand)
pattern
- The pattern may have wildcards "%" and "_".operand
- The operand is compared to the pattern.public java.lang.String toString()
toString
in class java.lang.Object