-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
generic
-
solaris_2.5
The method hashCode() for TextHitInfo may be specified using the following:
"The hashcode returned is equal to the numeric value of the character index."
The method for toString() for TextHitInfo may be specified using:
"TextHitInfo[" + charIndex + (isLeadingEdge ? "L" : "T")+"]"
The returned value is the concatenation of the following strings:
"TextHitInfo["
The character index of the text hit as a decimal numeral
"L" or "T" depending on whether the hit is leading or trailing, respectively
"]"
P4 stuff follows:
Suggest we also may add to the class introduction text a statement like:
"Negative values for text hit offset are permitted."
Suggest change the "TextHitInfo (1, TRAILING)" text in the introduction text to
read something like "TextHitInfo trailing at offset position 1".
The (1, TRAILING) notation is based on a constructor which is no longer present.
"The hashcode returned is equal to the numeric value of the character index."
The method for toString() for TextHitInfo may be specified using:
"TextHitInfo[" + charIndex + (isLeadingEdge ? "L" : "T")+"]"
The returned value is the concatenation of the following strings:
"TextHitInfo["
The character index of the text hit as a decimal numeral
"L" or "T" depending on whether the hit is leading or trailing, respectively
"]"
P4 stuff follows:
Suggest we also may add to the class introduction text a statement like:
"Negative values for text hit offset are permitted."
Suggest change the "TextHitInfo (1, TRAILING)" text in the introduction text to
read something like "TextHitInfo trailing at offset position 1".
The (1, TRAILING) notation is based on a constructor which is no longer present.
- duplicates
-
JDK-4145804 Class comments in TextHitInfo and TextLayout are out of date
-
- Closed
-