public final boolean contains(final int value){
  boolean flag=false;
  for (int i=0; i < current_item; i++) {
    if (items[i] == value) {
      i=current_item + 1;
      flag=true;
    }
  }
  return flag;
}

public final boolean contains ( final int value ) { boolean flag = false ; for ( int i = 0 ; i < current_item ; i ++ ) { if ( items [ i ] == value ) { i = current_item + 1 ; flag = true ; } } return flag ; }
see if value present
