protected static final boolean equal_int ( int [ ] array , int start1 , int start2 , int length ) { while ( length > 0 && array [ start1 ] == array [ start2 ] ) { ++ start1 ; ++ start2 ; -- length ; } return length == 0 ; }
Compare two sections of an array for equality .