@Test public void clone_() { localeInfo = new LocaleInfo(Locale.US, "8859_1"); assertNotSame(localeInfo, localeInfo.clone()); assertEquals(localeInfo, localeInfo.clone()); }
@Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { unexpectedException(e); return null; } }
LocaleInfo implements Cloneable, Externalizable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { unexpectedException(e); return null; } } }
LocaleInfo implements Cloneable, Externalizable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { unexpectedException(e); return null; } } LocaleInfo();  LocaleInfo(Locale locale);  LocaleInfo(Locale locale, String charset);   LocaleInfo(Locale locale, String charset, LocaleInfo fallbackLocaleInfo); }
LocaleInfo implements Cloneable, Externalizable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { unexpectedException(e); return null; } } LocaleInfo();  LocaleInfo(Locale locale);  LocaleInfo(Locale locale, String charset);   LocaleInfo(Locale locale, String charset, LocaleInfo fallbackLocaleInfo); static LocaleInfo parse(String name); Locale getLocale(); Charset getCharset(); boolean isCharsetSupported(); LocaleInfo assertCharsetSupported(); @Override boolean equals(Object o); @Override int hashCode(); @Override Object clone(); void writeExternal(ObjectOutput out); void readExternal(ObjectInput in); @Override String toString(); }
LocaleInfo implements Cloneable, Externalizable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { unexpectedException(e); return null; } } LocaleInfo();  LocaleInfo(Locale locale);  LocaleInfo(Locale locale, String charset);   LocaleInfo(Locale locale, String charset, LocaleInfo fallbackLocaleInfo); static LocaleInfo parse(String name); Locale getLocale(); Charset getCharset(); boolean isCharsetSupported(); LocaleInfo assertCharsetSupported(); @Override boolean equals(Object o); @Override int hashCode(); @Override Object clone(); void writeExternal(ObjectOutput out); void readExternal(ObjectInput in); @Override String toString();  }