public class SimpleStringPattern extends Object implements StringPattern
Constructor and Description |
---|
SimpleStringPattern(String definition)
Creates a SimpleStringPattern for the specified definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doesMatch(String string)
Returns whether the specified string matches thiz pattern.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static void |
main(String[] arguments) |
String |
toString() |
public SimpleStringPattern(String definition)
public boolean doesMatch(String string)
doesMatch
in interface StringPattern
public static void main(String[] arguments)
Copyright © 2016. All rights reserved.