@Override
  public int lastIndexOf(Object o) {
    checkSingleRow();
    for (int i = array.length - 1; i >= 0; --i) {
      if (o == null) {
        if (array[i] == null) return i;
      } else {
        if (o.equals(array[i])) return i;
      }
    }
    return -1;
  }
Row iterator for non-zero-length rows.
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/FlatRowContainer.java