public static class AttributedCharacterIterator.Attribute extends Object implements Serializable
AttributedCharacterIterator和
AttributedString。
AttributedCharacterIterator,
AttributedString,
Serialized Form
| Modifier and Type | Field and Description |
|---|---|
static AttributedCharacterIterator.Attribute |
INPUT_METHOD_SEGMENT
输入方法段的属性键。
|
static AttributedCharacterIterator.Attribute |
LANGUAGE
一些文本语言的属性键。
|
static AttributedCharacterIterator.Attribute |
READING
用于读取一些文本的属性键。
|
| Modifier | Constructor and Description |
|---|---|
protected |
Attribute(String name)
构建一个给定名字的
Attribute。
|
public static final AttributedCharacterIterator.Attribute LANGUAGE
价值观是Locale实例。
Locale
public static final AttributedCharacterIterator.Attribute READING
价值观是对String控股Annotation实例实例。
Annotation,
String
public static final AttributedCharacterIterator.Attribute INPUT_METHOD_SEGMENT
价值观是Annotation持null参考实例。
Annotation
protected Attribute(String name)
Attribute。
name -
Attribute名称
public final boolean equals(Object obj)
x.equals(y)如果
x和
y引用同一个对象,并保证为所有的子类。
equals 方法重写,继承类
Object
obj -参考对象的比较。
true obj参数相同;
false否则。
Object.hashCode(),
HashMap
public final int hashCode()
Object一相同,但也是最后。
hashCode 方法重写,继承类
Object
Object.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)
public String toString()
"(",名称识别属性和
")"。
protected String getName()
Attribute的名字
protected Object readResolve() throws InvalidObjectException
Attribute对象
InvalidObjectException如果解决的对象是不
Attribute实例
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.