public LoopInfo < R > setValues ( int currentIndex , int effectiveIndex , R lastRes ) { this . currentIndex = currentIndex ; this . effectiveIndex = effectiveIndex ; this . lastRes = lastRes ; return this ; }
set all fields of the loop info