Ejemplo n.º 1
0
 /** @return "y" in "Showing x to y of z" */
 public long getTo() {
   if (table.getTotalRowCount() == 0) {
     return 0;
   } else {
     long count = getFrom() + table.getCurrentPageItemCount() - 1;
     return count;
   }
 }