edu.rice.cs.cunit.util
Class StringOps.MatchResultDelegate
java.lang.Object
edu.rice.cs.cunit.util.StringOps.MatchResultDelegate
- All Implemented Interfaces:
- StringOps.MatchResult, java.util.regex.MatchResult
- Enclosing class:
- StringOps
private static class StringOps.MatchResultDelegate
- extends java.lang.Object
- implements StringOps.MatchResult
Field Summary |
private boolean |
_found
|
private java.util.regex.MatchResult |
_mr
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_mr
private java.util.regex.MatchResult _mr
_found
private boolean _found
StringOps.MatchResultDelegate
public StringOps.MatchResultDelegate(boolean f,
java.util.regex.MatchResult mr)
found
public boolean found()
- Specified by:
found
in interface StringOps.MatchResult
end
public int end()
- Specified by:
end
in interface java.util.regex.MatchResult
end
public int end(int group)
- Specified by:
end
in interface java.util.regex.MatchResult
group
public java.lang.String group()
- Specified by:
group
in interface java.util.regex.MatchResult
group
public java.lang.String group(int group)
- Specified by:
group
in interface java.util.regex.MatchResult
groupCount
public int groupCount()
- Specified by:
groupCount
in interface java.util.regex.MatchResult
start
public int start()
- Specified by:
start
in interface java.util.regex.MatchResult
start
public int start(int group)
- Specified by:
start
in interface java.util.regex.MatchResult