< prev index next >

src/java.base/share/classes/java/lang/StringBuffer.java

Print this page




 410     public synchronized StringBuffer append(long lng) {
 411         toStringCache = null;
 412         super.append(lng);
 413         return this;
 414     }
 415 
 416     @Override
 417     public synchronized StringBuffer append(float f) {
 418         toStringCache = null;
 419         super.append(f);
 420         return this;
 421     }
 422 
 423     @Override
 424     public synchronized StringBuffer append(double d) {
 425         toStringCache = null;
 426         super.append(d);
 427         return this;
 428     }
 429 







 430     /**
 431      * @throws StringIndexOutOfBoundsException {@inheritDoc}
 432      * @since      1.2
 433      */
 434     @Override
 435     public synchronized StringBuffer delete(int start, int end) {
 436         toStringCache = null;
 437         super.delete(start, end);
 438         return this;
 439     }
 440 
 441     /**
 442      * @throws StringIndexOutOfBoundsException {@inheritDoc}
 443      * @since      1.2
 444      */
 445     @Override
 446     public synchronized StringBuffer deleteCharAt(int index) {
 447         toStringCache = null;
 448         super.deleteCharAt(index);
 449         return this;




 410     public synchronized StringBuffer append(long lng) {
 411         toStringCache = null;
 412         super.append(lng);
 413         return this;
 414     }
 415 
 416     @Override
 417     public synchronized StringBuffer append(float f) {
 418         toStringCache = null;
 419         super.append(f);
 420         return this;
 421     }
 422 
 423     @Override
 424     public synchronized StringBuffer append(double d) {
 425         toStringCache = null;
 426         super.append(d);
 427         return this;
 428     }
 429 
 430     @Override
 431     public synchronized StringBuffer appendN(char c, int n) {
 432         toStringCache = null;
 433         super.appendN(c, n);
 434         return this;
 435     }
 436 
 437     /**
 438      * @throws StringIndexOutOfBoundsException {@inheritDoc}
 439      * @since      1.2
 440      */
 441     @Override
 442     public synchronized StringBuffer delete(int start, int end) {
 443         toStringCache = null;
 444         super.delete(start, end);
 445         return this;
 446     }
 447 
 448     /**
 449      * @throws StringIndexOutOfBoundsException {@inheritDoc}
 450      * @since      1.2
 451      */
 452     @Override
 453     public synchronized StringBuffer deleteCharAt(int index) {
 454         toStringCache = null;
 455         super.deleteCharAt(index);
 456         return this;


< prev index next >