public class Annotation extends Object
将属性值包装到注释对象中,即使属性值相等,也不会合并相邻文本,并且如果底层文本被修改,则会向文本容器指示属性应该被丢弃。
AttributedCharacterIterator
Constructor and Description |
---|
Annotation(Object value)
构造具有给定值的注释记录,可以为null。
|
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.