Utilize @snippet for code examples in both java.text.CollationKey and java.text.CompactNumberFormat.
Replace anchor tags with @linkplain in java.text.CompactNumberFormat for plain text internal links.
Replace anchor tags with @linkplain in java.text.CompactNumberFormat for plain text internal links.