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

/ropes-1.1.3/src/org/ahmadsoft/ropes/
H A DRope.java223 * Returns <code>true</code> if this rope matches the specified
227 * @return <code>true</code> if this rope matches the specified
230 public boolean matches(Pattern regex); method in interface:Rope
233 * Returns <code>true</code> if this rope matches the specified
237 * @return <code>true</code> if this rope matches the specified
240 public boolean matches(String regex); method in interface:Rope
/ropes-1.1.3/src/org/ahmadsoft/ropes/impl/
H A DAbstractRope.java238 public boolean matches(final Pattern regex) { method in class:AbstractRope
239 return regex.matcher(this.getForSequentialAccess()).matches();
243 public boolean matches(final String regex) { method in class:AbstractRope
244 return Pattern.matches(regex, this.getForSequentialAccess());
/ropes-1.1.3/src/org/ahmadsoft/ropes/test/
H A DRopeTest.java52 assertTrue(x2.matches("0.*9"));
53 assertTrue(x2.matches(Pattern.compile("0.*9")));
55 assertTrue(x2.matches("0.*90.*9"));
56 assertTrue(x2.matches(Pattern.compile("0.*90.*9")));

Completed in 3 milliseconds