/** * Returns a CountryCode instance representing the specified String value * * @param stringValue * a String value * @return return a CountryCode instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CountryCode */ public static CountryCode valueOf(String stringValue) throws IllegalArgumentException { return new CountryCode(stringValue); }
/** * Returns a CountryCode instance representing the specified String value * * @param stringValue * a String value * @return return a CountryCode instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CountryCode */ public static CountryCode valueOf(String stringValue) throws IllegalArgumentException { return new CountryCode(stringValue); }
/** * Returns a CountryCode instance representing the specified String value * * @param stringValue * a String value * @return return a CountryCode instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid CountryCode */ public static CountryCode valueOf(String stringValue) throws IllegalArgumentException { return new CountryCode(stringValue); }