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.