Find the minimum and maximum element of this anagrams vector
min = Integer . MAX_VALUE ; max = - ( Integer . MAX_VALUE ) ; for ( int j = 0 ; j < i . getValue ( ) . size ( ) ; j ++ ) { if ( m . get ( i . getKey ( ) ) . get ( j ) < min ) { min = m . get ( i . getKey ( ) ) . get ( j ) ; } if ( m . get ( i . getKey ( ) ) . get ( j ) > max ) { max = m . get ( i . getKey ( ) ) . get ( j ) ; } }