Mercurial > projects > dwt-addons
comparison dwtx/text/edits/TextEdit.d @ 160:3678e4f1a766
toHash, toString
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 02:07:22 +0200 |
parents | 7926b636c282 |
children | f8d52b926852 |
comparison
equal
deleted
inserted
replaced
159:7926b636c282 | 160:3678e4f1a766 |
---|---|
512 * | 512 * |
513 * @return the object's hash code value | 513 * @return the object's hash code value |
514 * | 514 * |
515 * @see Object#hashCode() | 515 * @see Object#hashCode() |
516 */ | 516 */ |
517 public final int hashCode() { | 517 public final override hash_t toHash() { |
518 return super.hashCode(); | 518 return super.toHash(); |
519 } | 519 } |
520 | 520 |
521 /* | 521 /* |
522 * @see java.lang.Object#toString() | 522 * @see java.lang.Object#toString() |
523 */ | 523 */ |
524 public String toString() { | 524 public override String toString() { |
525 StringBuffer buffer= new StringBuffer(); | 525 StringBuffer buffer= new StringBuffer(); |
526 toStringWithChildren(buffer, 0); | 526 toStringWithChildren(buffer, 0); |
527 return buffer.toString(); | 527 return buffer.toString(); |
528 } | 528 } |
529 | 529 |