public static Tuple min(TupleSet tuples,String field,Comparator cmp){
  if (tuples instanceof Table) {
    Table table=(Table)tuples;
    ColumnMetadata md=table.getMetadata(field);
    return table.getTuple(md.getMinimumRow());
  }
 else {
    return min(tuples.tuples(),field,cmp);
  }
}

public static Tuple min ( TupleSet tuples , String field , Comparator cmp ) { if ( tuples instanceof Table ) { Table table = ( Table ) tuples ; ColumnMetadata md = table . getMetadata ( field ) ; return table . getTuple ( md . getMinimumRow ( ) ) ; } else { return min ( tuples . tuples ( ) , field , cmp ) ; } }
get the tuple with the minimum data field value .
