Mercurial > projects > dwt-addons
comparison dwtx/jface/text/templates/Template.d @ 160:3678e4f1a766
toHash, toString
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 02:07:22 +0200 |
parents | 75302ef3f92f |
children | 1a5b8f8129df |
comparison
equal
deleted
inserted
replaced
159:7926b636c282 | 160:3678e4f1a766 |
---|---|
111 } | 111 } |
112 | 112 |
113 /* | 113 /* |
114 * @see Object#hashCode() | 114 * @see Object#hashCode() |
115 */ | 115 */ |
116 public int hashCode() { | 116 public override hash_t toHash() { |
117 return fName.hashCode() ^ fPattern.hashCode() ^ fContextTypeId.hashCode(); | 117 return fName.toHash() ^ fPattern.toHash() ^ fContextTypeId.toHash(); |
118 } | 118 } |
119 | 119 |
120 /** | 120 /** |
121 * Sets the description of the template. | 121 * Sets the description of the template. |
122 * | 122 * |