* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public int hashCode() {
assert false : "hashCode not designed";
return 42;
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public RuleBasedCollator getRuleBasedCollator() {
return rbc_;
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected int doCompare(CharSequence left, CharSequence right) {
return compare(left.toString(), right.toString());
}
* @see RuleBasedCollator#setAlternateHandlingShifted
* @deprecated ICU 53 Call {@link #setMaxVariable(int)} instead.
*/
+ @Deprecated
public abstract int setVariableTop(String varTop);
/**
* @see #setVariableTop(String)
* @deprecated ICU 53 Call setMaxVariable() instead.
*/
+ @Deprecated
public abstract void setVariableTop(int varTop);
/**
* @deprecated ICU 53 Call {@link #setMaxVariable(int)} instead.
*/
@Override
+ @Deprecated
public int setVariableTop(String varTop) {
checkNotFrozen();
if (varTop == null || varTop.length() == 0) {
* @deprecated ICU 53 Call setMaxVariable() instead.
*/
@Override
+ @Deprecated
public void setVariableTop(int varTop) {
checkNotFrozen();
internalSetVariableTop(varTop & 0xffffffffL);
* @internal for tests & tools
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public long[] internalGetCEs(CharSequence str) {
CollationBuffer buffer = null;
try {
* @deprecated This API is ICU internal only.
*/
@Override
+ @Deprecated
protected int doCompare(CharSequence left, CharSequence right) {
if(left == right) {
return Collation.EQUAL;
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
//TODO: This protected method is @stable 2.0 in ICU4C
protected void setMatchNotFound() {
search_.matchedIndex_ = DONE;
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected void setMatchNotFound() {
super.setMatchNotFound();
// SearchIterator#setMatchNotFound() does following:
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected Mode() {
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected Factory() {
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public KeywordStatus getKeywordStatus(String keyword, int offset, Set<Double> explicits,
Output<Double> uniqueValue, SampleType sampleType) {
if (uniqueValue != null) {
* @return A copy of this
* @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
*/
+ @Deprecated
public Object clone()
{
try {
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public static abstract class Factory {
/**
* The factory method of <code>TimeZoneNames</code>.
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public abstract TimeZoneNames getTimeZoneNames(ULocale locale);
/**
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected Factory() {
}
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public static XSymbolTable getDefaultXSymbolTable() {
return XSYMBOL_TABLE;
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public static void setDefaultXSymbolTable(XSymbolTable xSymbolTable) {
XSYMBOL_TABLE = xSymbolTable;
}
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
protected void validateField(int field) {
if (field == MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(MONTH) == ADAR_1) {
throw new IllegalArgumentException("MONTH cannot be ADAR_1(5) except leap years");
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) {
UnicodeSet myFilter = getFilterAsUnicodeSet(inputFilter);
UnicodeSet temp = new UnicodeSet(handleGetSourceSet()).retainAll(myFilter);
* @internal
* @deprecated This API is ICU internal only.
*/
+ @Deprecated
// TODO change to getMergedFilter
public UnicodeSet getFilterAsUnicodeSet(UnicodeSet externalFilter) {
if (filter == null) {