|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EDU.bmrb.starlibj.ParseValFromRetVal
This is a return type for StarValidity.parseValFrom(), which needs to return more than one thing - The only way to do that in Java is to make a class containing all the return values and have the method return an instance of that class.
Field Summary | |
short |
delim
The delimiter matched |
int |
endingIdx
The index of where the parse ended + 1 |
boolean |
found
Was a value found or not? (Will be false if, for example, the string being parsed was nothing but whitespace.) |
int |
nextIdx
The index where the next parse should start, if there are more DataValues embedded in this string |
java.lang.String |
str
The string that was matched |
Constructor Summary | |
ParseValFromRetVal()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public short delim
public java.lang.String str
public int endingIdx
public int nextIdx
public boolean found
Constructor Detail |
public ParseValFromRetVal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |