public class SimplePattern extends Object implements Serializable, Comparable<SimplePattern>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SimplePattern o) |
static SimplePattern |
compile(String pattern) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isMatch(CharSequence value)
Matches the
value with the compiled expression. |
String |
toString() |
public boolean isMatch(CharSequence value)
value
with the compiled expression. The value
is considered matching if all characters are matched by the expression. A
partial match is not enough.value
- The value to matchtrue
if the value was a match.public int compareTo(SimplePattern o)
compareTo
in interface Comparable<SimplePattern>
public static SimplePattern compile(String pattern)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.