getStartIndex method

int getStartIndex(
  1. int pageIndex
)

Implementation

int getStartIndex(int pageIndex) {
  return pageIndex * pageSize;
}