Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

annotation?  RSS feed

Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the SG:

An annotation object is a wrapper for a text attribute value if the attribute has
annotation characteristics. One characteristic is the text range to which the attribute
is applied; this is critical to the semantics of the range. Wrapping the attribute value
into an annotation object guarantees that adjacent text does not get merged, even if
the attribute values are equal, and it indicates to text containers that the attribute
should be discarded if the underlying text is modified.

Can anyone explain me the above paragraph?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!