public void setCount(String str) {
    isDefault = false;
    if (str.equals("1")) {
      isDefault = true;
    }

    count = str;
  }
public void setCount(String str) {
    isDefault = false;
    if (str.equals("1")) {
      isDefault = true;
    }

    count = str;
  }
public void setCount ( String str ) { isDefault = false ; if ( str . equals ( "1" ) ) { isDefault = true ; } count = str ; }
method to change the default count of one to the user-defined

@param str user-defined count
method to change the default count of one to the user - defined