script-astra/Android/Sdk/sources/android-35/android/icu/impl/locale/Extension.java
localadmin 4380f00a78 init
2025-01-20 18:15:20 +03:00

46 lines
1.1 KiB
Java

/* GENERATED SOURCE. DO NOT MODIFY. */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2009-2010, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
package android.icu.impl.locale;
/**
* @hide Only a subset of ICU is exposed in Android
*/
public class Extension {
private char _key;
protected String _value;
protected Extension(char key) {
_key = key;
}
Extension(char key, String value) {
_key = key;
_value = value;
}
public char getKey() {
return _key;
}
public String getValue() {
return _value;
}
public String getID() {
return _key + LanguageTag.SEP + _value;
}
@Override
public String toString() {
return getID();
}
}