public boolean contains ( int value ) { for ( int i : data ) { if ( i == value ) { return true ; } } return false ; } 
public boolean contains ( int value ) { for ( int i = 0 ; i < ( size ) ; i ++ ) { if ( ( data [ i ] ) == value ) { return true ; } } return false ; }