ICU-13377 Promoting ICU4J draft APIs to stable for ICU 60.

X-SVN-Rev: 40497
This commit is contained in:
Yoshito Umaoka 2017-09-28 13:15:15 +00:00
commit 3c76337e00
7 changed files with 185 additions and 93 deletions

View file

@ -15,7 +15,16 @@
<hr/>
<h2>Deprecated or Obsoleted in ICU4J 60.0.1</h2>
<p>(no API obsoleted)</p>
<h3>Package com.ibm.icu.util</h3>
<ul>
Calendar
<ul>
<li><span style='color:gray'>(deprecated)</span> protected int <i>computeMillisInDay</i>()</li>
<li><span style='color:gray'>(deprecated)</span> protected int <i>computeZoneOffset</i>(long, int)</li>
</ul>
</ul>
<hr/>
<h2>Changed in ICU4J 60.0.1 (old, new)</h2>
@ -35,6 +44,92 @@ UProperty
</ul>
</ul>
<h3>Package com.ibm.icu.text</h3>
<ul>
<li><span style='color:green'>(stable)</span> public class <i>BidiTransform</i></li>
<li><span style='color:green'>(stable)</span> public static enum <i>BidiTransform.Mirroring</i></li>
<li><span style='color:green'>(stable)</span> public static enum <i>BidiTransform.Order</i></li>
BidiTransform.Mirroring
<ul>
<li><span style='color:green'>(stable)</span> public static final BidiTransform.Mirroring OFF</li>
<li><span style='color:green'>(stable)</span> public static final BidiTransform.Mirroring ON</li>
</ul>
BidiTransform.Order
<ul>
<li><span style='color:green'>(stable)</span> public static final BidiTransform.Order LOGICAL</li>
<li><span style='color:green'>(stable)</span> public static final BidiTransform.Order VISUAL</li>
</ul>
DecimalFormatSymbols
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getDecimalSeparatorString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String[] <i>getDigitStrings</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getGroupingSeparatorString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getMinusSignString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getMonetaryDecimalSeparatorString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getMonetaryGroupingSeparatorString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getPerMillString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getPercentString</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getPlusSignString</i>()</li>
<li><span style='color:green'>(stable)</span> public void <i>setDecimalSeparatorString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setDigitStrings</i>(java.lang.String[])</li>
<li><span style='color:green'>(stable)</span> public void <i>setGroupingSeparatorString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setMinusSignString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setMonetaryDecimalSeparatorString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setMonetaryGroupingSeparatorString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setPerMillString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setPercentString</i>(java.lang.String)</li>
<li><span style='color:green'>(stable)</span> public void <i>setPlusSignString</i>(java.lang.String)</li>
</ul>
DisplayContext
<ul>
<li><span style='color:green'>(stable)</span> public static final DisplayContext NO_SUBSTITUTE</li>
<li><span style='color:green'>(stable)</span> public static final DisplayContext SUBSTITUTE</li>
</ul>
DisplayContext.Type
<ul>
<li><span style='color:green'>(stable)</span> public static final DisplayContext.Type SUBSTITUTE_HANDLING</li>
</ul>
MeasureFormat
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getUnitDisplayName</i>(MeasureUnit)</li>
</ul>
RuleBasedBreakIterator
<ul>
<li><span style='color:green'>(stable)</span> public int <i>getRuleStatus</i>()</li>
<li><span style='color:green'>(stable)</span> public int <i>getRuleStatusVec</i>(int[])</li>
</ul>
SpoofChecker
<ul>
<li><span style='color:green'>(stable)</span> public static final int CONFUSABLE</li>
<li><span style='color:green'>(stable)</span> public static final UnicodeSet INCLUSION</li>
<li><span style='color:green'>(stable)</span> public static final int MIXED_NUMBERS</li>
<li><span style='color:green'>(stable)</span> public static final UnicodeSet RECOMMENDED</li>
<li><span style='color:green'>(stable)</span> public static final int RESTRICTION_LEVEL</li>
<li><span style='color:green'>(stable)</span> public boolean <i>equals</i>(java.lang.Object)</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getSkeleton</i>(java.lang.CharSequence)</li>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
</ul>
SpoofChecker.Builder
<ul>
<li><span style='color:green'>(stable)</span> public SpoofChecker.Builder <i>setData</i>(java.io.Reader)</li>
<li><span style='color:green'>(stable)</span> public SpoofChecker.Builder <i>setRestrictionLevel</i>(SpoofChecker.RestrictionLevel)</li>
</ul>
SpoofChecker.CheckResult
<ul>
<li><span style='color:green'>(stable)</span> public UnicodeSet numerics</li>
<li><span style='color:green'>(stable)</span> public SpoofChecker.RestrictionLevel restrictionLevel</li>
</ul>
</ul>
<h3>Package com.ibm.icu.util</h3>
<ul>
MeasureUnit
<ul>
<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILLIMOLE_PER_LITER</li>
<li><span style='color:green'>(stable)</span> public static final MeasureUnit PART_PER_MILLION</li>
</ul>
</ul>
<hr/>
<h2>Added in ICU4J 60.0.1</h2>
@ -88,20 +183,60 @@ UScript
<h3>Package com.ibm.icu.text</h3>
<ul>
<li><span style='color:orange'>(draft)</span> public abstract class <i>FilteredBreakIteratorBuilder</i></li>
BreakIterator
<ul>
<li><span style='color:orange'>(draft)</span> public void <i>setText</i>(java.lang.CharSequence)</li>
</ul>
CaseMap.Fold
<ul>
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>apply</i>(java.lang.CharSequence)</li>
</ul>
CaseMap.Lower
<ul>
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>apply</i>(java.util.Locale, java.lang.CharSequence)</li>
</ul>
CaseMap.Title
<ul>
<li><span style='color:orange'>(draft)</span> public CaseMap.Title <i>adjustToCased</i>()</li>
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>apply</i>(java.util.Locale, BreakIterator, java.lang.CharSequence)</li>
<li><span style='color:orange'>(draft)</span> public CaseMap.Title <i>sentences</i>()</li>
<li><span style='color:orange'>(draft)</span> public CaseMap.Title <i>wholeString</i>()</li>
</ul>
CaseMap.Upper
<ul>
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>apply</i>(java.util.Locale, java.lang.CharSequence)</li>
</ul>
DecimalFormatSymbols
<ul>
<li><span style='color:orange'>(draft)</span> public static DecimalFormatSymbols <i>forNumberingSystem</i>(ULocale, NumberingSystem)</li>
<li><span style='color:orange'>(draft)</span> public static DecimalFormatSymbols <i>forNumberingSystem</i>(java.util.Locale, NumberingSystem)</li>
</ul>
Edits
<ul>
<li><span style='color:orange'>(draft)</span> public Edits <i>mergeAndAppend</i>(Edits, Edits)</li>
<li><span style='color:orange'>(draft)</span> public int <i>numberOfChanges</i>()</li>
</ul>
Edits.Iterator
<ul>
<li><span style='color:orange'>(draft)</span> public int <i>destinationIndexFromSourceIndex</i>(int)</li>
<li><span style='color:orange'>(draft)</span> public boolean <i>findDestinationIndex</i>(int)</li>
<li><span style='color:orange'>(draft)</span> public int <i>sourceIndexFromDestinationIndex</i>(int)</li>
</ul>
</ul>
<h3>Package com.ibm.icu.util</h3>
<ul>
Currency
<ul>
<li><span style='color:orange'>(draft)</span> public static Currency <i>fromJavaCurrency</i>(java.util.Currency)</li>
<li><span style='color:orange'>(draft)</span> public java.util.Currency <i>toJavaCurrency</i>()</li>
</ul>
CurrencyAmount
<ul>
<li><span style='color:orange'>(draft)</span> public <i>CurrencyAmount</i>(double, java.util.Currency)</li>
<li><span style='color:orange'>(draft)</span> public <i>CurrencyAmount</i>(java.lang.Number, java.util.Currency)</li>
</ul>
VersionInfo
<ul>
<li><span style='color:green'>(stable)</span> public static final VersionInfo UNICODE_10_0</li>
@ -109,6 +244,6 @@ VersionInfo
</ul>
<hr/>
<p><i><font size="-1">Contents generated by ReportAPI tool on Mon Jun 26 00:19:22 EDT 2017<br/>© 2017 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
<p><i><font size="-1">Contents generated by ReportAPI tool on Wed Sep 27 11:38:50 EDT 2017<br/>© 2017 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
</body>
</html>

View file

@ -10,8 +10,7 @@ import com.ibm.icu.lang.UCharacter;
*
* @author Lina Kemmel
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public class BidiTransform
{
@ -52,22 +51,19 @@ public class BidiTransform
* @see Bidi#REORDER_DEFAULT
* @see Bidi#REORDER_INVERSE_LIKE_DIRECT
* @see Bidi#REORDER_RUNS_ONLY
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public enum Order {
/**
* Constant indicating a logical order.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
LOGICAL,
/**
* Constant indicating a visual order.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
VISUAL;
}
@ -81,16 +77,14 @@ public class BidiTransform
* @see Bidi#setReorderingOptions
* @see Bidi#writeReordered
* @see Bidi#writeReverse
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public enum Mirroring {
/**
* Constant indicating that character mirroring should not be
* performed.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
OFF,
/**
@ -100,8 +94,7 @@ public class BidiTransform
* or <code>{@link Bidi#writeReverse}</code> with the
* <code>{@link Bidi#DO_MIRRORING}</code> option bit set.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
ON;
}
@ -114,8 +107,7 @@ public class BidiTransform
/**
* <code>{@link BidiTransform}</code> default constructor.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public BidiTransform()
{
@ -224,8 +216,7 @@ public class BidiTransform
* @throws IllegalArgumentException if <code>text</code>,
* <code>inOrder</code>, <code>outOrder</code>, or
* <code>doMirroring</code> parameter is <code>null</code>.
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String transform(CharSequence text,
byte inParaLevel, Order inOrder,

View file

@ -267,8 +267,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the array of strings used as digits, in order from 0 through 9
* @return The array of ten digit strings
* @see #setDigitStrings(String[])
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String[] getDigitStrings() {
return digitStrings.clone();
@ -318,8 +317,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @throws NullPointerException if the <code>digitStrings</code> is null.
* @throws IllegalArgumentException if the length of the array is not 10.
* @see #getDigitStrings()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setDigitStrings(String[] digitStrings) {
if (digitStrings == null) {
@ -426,8 +424,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the string used for grouping separator. Different for French, etc.
* @return the grouping separator string
* @see #setGroupingSeparatorString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getGroupingSeparatorString() {
return groupingSeparatorString;
@ -443,8 +440,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param groupingSeparatorString the grouping separator string
* @throws NullPointerException if <code>groupingSeparatorString</code> is null.
* @see #getGroupingSeparatorString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setGroupingSeparatorString(String groupingSeparatorString) {
if (groupingSeparatorString == null) {
@ -483,8 +479,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the string used for decimal sign.
* @return the decimal sign string
* @see #setDecimalSeparatorString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getDecimalSeparatorString() {
return decimalSeparatorString;
@ -500,8 +495,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param decimalSeparatorString the decimal sign string
* @throws NullPointerException if <code>decimalSeparatorString</code> is null.
* @see #getDecimalSeparatorString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setDecimalSeparatorString(String decimalSeparatorString) {
if (decimalSeparatorString == null) {
@ -540,8 +534,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the string used for permille sign.
* @return the permille string
* @see #setPerMillString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getPerMillString() {
return perMillString;
@ -557,8 +550,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param perMillString the permille string
* @throws NullPointerException if <code>perMillString</code> is null.
* @see #getPerMillString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setPerMillString(String perMillString) {
if (perMillString == null) {
@ -597,8 +589,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the string used for percent sign.
* @return the percent string
* @see #setPercentString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getPercentString() {
return percentString;
@ -614,8 +605,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param percentString the percent string
* @throws NullPointerException if <code>percentString</code> is null.
* @see #getPercentString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setPercentString(String percentString) {
if (percentString == null) {
@ -739,8 +729,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the string used to represent minus sign.
* @return the minus sign string
* @see #setMinusSignString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getMinusSignString() {
return minusString;
@ -756,8 +745,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param minusSignString the minus sign string
* @throws NullPointerException if <code>minusSignString</code> is null.
* @see #getGroupingSeparatorString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setMinusSignString(String minusSignString) {
if (minusSignString == null) {
@ -803,8 +791,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
/**
* {@icu} Returns the string used to represent plus sign.
* @return the plus sign string
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getPlusSignString() {
return plusString;
@ -821,8 +808,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* strings
* @throws NullPointerException if <code>plusSignString</code> is null.
* @see #getPlusSignString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setPlusSignString(String plusSignString) {
if (plusSignString == null) {
@ -933,8 +919,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the monetary decimal separator string.
* @return the monetary decimal separator string
* @see #setMonetaryDecimalSeparatorString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getMonetaryDecimalSeparatorString() {
return monetarySeparatorString;
@ -950,8 +935,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param sep the monetary decimal separator string
* @throws NullPointerException if <code>sep</code> is null.
* @see #getMonetaryDecimalSeparatorString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setMonetaryDecimalSeparatorString(String sep) {
if (sep == null) {
@ -990,8 +974,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* {@icu} Returns the monetary grouping separator.
* @return the monetary grouping separator string
* @see #setMonetaryGroupingSeparatorString(String)
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getMonetaryGroupingSeparatorString() {
return monetaryGroupingSeparatorString;
@ -1007,8 +990,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
* @param sep the monetary grouping separator string
* @throws NullPointerException if <code>sep</code> is null.
* @see #getMonetaryGroupingSeparatorString()
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public void setMonetaryGroupingSeparatorString(String sep) {
if (sep == null) {

View file

@ -97,15 +97,13 @@ public enum DisplayContext {
* A possible setting for SUBSTITUTE_HANDLING:
* Returns a fallback value (e.g., the input code) when no data is available.
* This is the default behavior.
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
SUBSTITUTE(Type.SUBSTITUTE_HANDLING, 0),
/**
* A possible setting for SUBSTITUTE_HANDLING:
* Returns a null value when no data is available.
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
NO_SUBSTITUTE(Type.SUBSTITUTE_HANDLING, 1);
@ -132,8 +130,7 @@ public enum DisplayContext {
DISPLAY_LENGTH,
/**
* SUBSTITUTE_HANDLING can be set to SUBSTITUTE or NO_SUBSTITUTE.
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
SUBSTITUTE_HANDLING
}

View file

@ -576,8 +576,7 @@ public class MeasureFormat extends UFormat {
* {@link MeasureFormat#getInstance}, or null if there is no display name available
* for the specified unit.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getUnitDisplayName(MeasureUnit unit) {
FormatWidth width = getRegularWidth(formatWidth);

View file

@ -270,8 +270,7 @@ public class SpoofChecker {
/**
* Security Profile constant from UTS 39 for use in {@link SpoofChecker.Builder#setAllowedChars}.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public static final UnicodeSet INCLUSION = new UnicodeSet(
"['\\-.\\:\\u00B7\\u0375\\u058A\\u05F3\\u05F4\\u06FD\\u06FE\\u0F0B\\u200C\\u200D\\u2010\\u"
@ -284,8 +283,7 @@ public class SpoofChecker {
/**
* Security Profile constant from UTS 39 for use in {@link SpoofChecker.Builder#setAllowedChars}.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public static final UnicodeSet RECOMMENDED = new UnicodeSet(
"[0-9A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u0131\\u0134-\\u013E\\u0141-\\u014"
@ -386,8 +384,7 @@ public class SpoofChecker {
* checks to some subset of SINGLE_SCRIPT_CONFUSABLE, MIXED_SCRIPT_CONFUSABLE, or WHOLE_SCRIPT_CONFUSABLE to make
* {@link SpoofChecker#areConfusable} return only those types of confusables.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public static final int CONFUSABLE = SINGLE_SCRIPT_CONFUSABLE | MIXED_SCRIPT_CONFUSABLE | WHOLE_SCRIPT_CONFUSABLE;
@ -405,8 +402,7 @@ public class SpoofChecker {
* {@link SpoofChecker.Builder#setRestrictionLevel}. The default restriction level is
* {@link RestrictionLevel#HIGHLY_RESTRICTIVE}.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public static final int RESTRICTION_LEVEL = 16;
@ -441,8 +437,7 @@ public class SpoofChecker {
* Check that an identifier does not mix numbers from different numbering systems. For more information, see UTS 39
* section 5.3.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public static final int MIXED_NUMBERS = 128;
@ -552,8 +547,7 @@ public class SpoofChecker {
* @throws ParseException
* To report syntax errors in the input.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public Builder setData(Reader confusables) throws ParseException, IOException {
@ -759,7 +753,7 @@ public class SpoofChecker {
* The loosest restriction level allowed.
* @return self
* @provisional This API might change or be removed in a future release.
* @draft ICU 58
* @stable ICU 58
*/
public Builder setRestrictionLevel(RestrictionLevel restrictionLevel) {
fRestrictionLevel = restrictionLevel;
@ -1197,16 +1191,14 @@ public class SpoofChecker {
* The numerics found in the string, if MIXED_NUMBERS was set; otherwise null. The set will contain the zero
* digit from each decimal number system found in the input string.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public UnicodeSet numerics;
/**
* The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public RestrictionLevel restrictionLevel;
@ -1458,8 +1450,7 @@ public class SpoofChecker {
* The input string whose skeleton will be generated.
* @return The output skeleton string.
*
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
public String getSkeleton(CharSequence str) {
// Apply the skeleton mapping to the NFD normalized input string
@ -1501,8 +1492,7 @@ public class SpoofChecker {
* @param other
* the SpoofChecker being compared with.
* @return true if the two SpoofCheckers are equal.
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* @stable ICU 58
*/
@Override
public boolean equals(Object other) {
@ -1531,8 +1521,8 @@ public class SpoofChecker {
}
/**
* @draft ICU 58
* @provisional This API might change or be removed in a future release.
* Overrides {@link Object#hashCode()}.
* @stable ICU 58
*/
@Override
public int hashCode() {

View file

@ -481,15 +481,13 @@ public class MeasureUnit implements Serializable {
/**
* Constant for unit of concentr: millimole-per-liter
* @draft ICU 57
* @provisional This API might change or be removed in a future release.
* @stable ICU 57
*/
public static final MeasureUnit MILLIMOLE_PER_LITER = MeasureUnit.internalGetInstance("concentr", "millimole-per-liter");
/**
* Constant for unit of concentr: part-per-million
* @draft ICU 57
* @provisional This API might change or be removed in a future release.
* @stable ICU 57
*/
public static final MeasureUnit PART_PER_MILLION = MeasureUnit.internalGetInstance("concentr", "part-per-million");
@ -517,8 +515,8 @@ public class MeasureUnit implements Serializable {
*/
public static final MeasureUnit MILE_PER_GALLON_IMPERIAL = MeasureUnit.internalGetInstance("consumption", "mile-per-gallon-imperial");
/**
* @draft ICU 58, withdrawn
/*
* at-draft ICU 58, withdrawn
* public static final MeasureUnit EAST = MeasureUnit.internalGetInstance("coordinate", "east");
* public static final MeasureUnit NORTH = MeasureUnit.internalGetInstance("coordinate", "north");
* public static final MeasureUnit SOUTH = MeasureUnit.internalGetInstance("coordinate", "south");