|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.MatchResult
public class MatchResult
A data structure that contains the result of matching string operations.
Field Summary | |
---|---|
int |
endIndex
The end index of this result. |
java.lang.String |
s
The string that this result covers. |
int |
startIndex
The start index of this result. |
Constructor Summary | |
---|---|
MatchResult()
Create a new instance with all field set to their default values. |
|
MatchResult(java.lang.String s,
int startIndex,
int endIndex)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
reset()
Reset all fields to their default state. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String s
null
.
public int startIndex
public int endIndex
Constructor Detail |
---|
public MatchResult()
public MatchResult(java.lang.String s, int startIndex, int endIndex)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |