Get started with Java today
Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java. Developer Downloads.
Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java. Developer Downloads.
Severity? Simple conversion allows progress, but I need to use the StringBuilder and/or StringBuffer instead.
Reported by Remi Forax <###@###.###> Severals methods that works with StringBuffer have no StringBuilder equivalent. 1) There is no contentEquals (StringBuilder) in class String. 2) In StringBuilder and StringBuffer, there is a method append (StringBuffer sb) but no append (StringBuilder).
The addition will extend the functionality to allow a StringBuilder to StringBuilder, or StringBuffer to StringBuffer comparison. Specification ------------- * CharSequence: change in general description (the wording changes are in bold) >`- ` This interface does not refine the general contracts of the equals and hashCode methods.
The release containing this fix may be available for download as an Early Access Release or a General Availability Release. To download the current JDK release, click here.
The release containing this fix may be available for download as an Early Access Release or a General Availability Release. To download the current JDK release, click here.