edu.wpi.prc.templates.java.validator
Class Result
java.lang.Object
edu.wpi.prc.templates.java.validator.Result
public class Result
- extends java.lang.Object
Stores all result information needed by the result validator.
- Author:
- James Baldassari
Field Summary |
private byte[] |
data
|
private java.lang.String |
resultID
|
Constructor Summary |
Result(java.lang.String resultID,
byte[] data)
Constructor specifying all members. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultID
private final java.lang.String resultID
data
private final byte[] data
Result
public Result(java.lang.String resultID,
byte[] data)
- Constructor specifying all members.
- Parameters:
resultID
- The ID of this result.data
- The result data.
getResultID
public java.lang.String getResultID()
- Returns:
- Returns the ID of this result.
getData
public byte[] getData()
- Returns:
- Returns the data contained within this result.