Searched refs:matches (Results 1 - 4 of 4) sorted by relevance

/ropes-1.2.5/src/org/ahmadsoft/ropes/
H A DRope.java241 * Returns <code>true</code> if this rope matches the specified
245 * @return <code>true</code> if this rope matches the specified
248 public boolean matches(Pattern regex); method in interface:Rope
251 * Returns <code>true</code> if this rope matches the specified
255 * @return <code>true</code> if this rope matches the specified
258 public boolean matches(String regex); method in interface:Rope
/ropes-1.2.5/src/org/ahmadsoft/ropes/impl/
H A DAbstractRope.java268 public boolean matches(final Pattern regex) { method in class:AbstractRope
269 return regex.matcher(this.getForSequentialAccess()).matches();
273 public boolean matches(final String regex) { method in class:AbstractRope
274 return Pattern.matches(regex, this.getForSequentialAccess());
/ropes-1.2.5/
H A Dropes.jar ... java.util.regex.Pattern) public abstract boolean matches (java.util.regex.Pattern) public abstract boolean ...
/ropes-1.2.5/src/org/ahmadsoft/ropes/test/
H A DRopeTest.java114 assertTrue(x2.matches("0.*9"));
115 assertTrue(x2.matches(Pattern.compile("0.*9")));
117 assertTrue(x2.matches("0.*90.*9"));
118 assertTrue(x2.matches(Pattern.compile("0.*90.*9")));

Completed in 16 milliseconds