All Packages Class Hierarchy This Package Previous Next Index
Class EDU.bmrb.starlibj.ParseValFromRetVal
java.lang.Object
|
+----EDU.bmrb.starlibj.ParseValFromRetVal
- public class ParseValFromRetVal
- extends Object
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.
-
delim
- The delimiter matched
-
endingIdx
- The index of where the parse ended + 1
-
found
- Was a value found or not? (Will be false if, for example,
the string being parsed was nothing but whitespace.)
-
nextIdx
- The index where the next parse should start, if
there are more DataValues embedded in this string
-
str
- The string that was matched
-
ParseValFromRetVal()
-
delim
public short delim
- The delimiter matched
str
public String str
- The string that was matched
endingIdx
public int endingIdx
- The index of where the parse ended + 1
nextIdx
public int nextIdx
- The index where the next parse should start, if
there are more DataValues embedded in this string
found
public boolean found
- Was a value found or not? (Will be false if, for example,
the string being parsed was nothing but whitespace.)
ParseValFromRetVal
public ParseValFromRetVal()
All Packages Class Hierarchy This Package Previous Next Index