@return the value of the ith field, or null if it has not been set. @param i field index to return. Must be a valid index.
(int i)
| 92 | * field index to return. Must be a valid index. |
| 93 | */ |
| 94 | public Field getField(int i) { |
| 95 | // some code goes here |
| 96 | if(i<0 || i>= this.fieldList.size()){ |
| 97 | return null; |
| 98 | } |
| 99 | return this.fieldList.get(i); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Returns the contents of this Tuple as a string. Note that to pass the |