public static int calcFirstItemIndexOfPage ( final PageRequest pageRequest , final int total ) { return calcFirstItemIndexOfPage ( pageRequest . getPage ( ) , pageRequest . getSize ( ) , total ) ; }
Calculates first item index of the page .