EDU.bmrb.starlibj
Class ParseValFromRetVal

java.lang.Object
  |
  +--EDU.bmrb.starlibj.ParseValFromRetVal

public class ParseValFromRetVal
extends java.lang.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.


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

delim

public short delim
The delimiter matched

str

public java.lang.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.)
Constructor Detail

ParseValFromRetVal

public ParseValFromRetVal()