public boolean contains ( int test ) { int [ ] data = _data ; for ( int i = _size - 1 ; i >= 0 ; i -- ) { if ( data [ i ] == test ) return true ; } return false ; }
Returns true if the array contains and integer equal to test .