Mercurial > projects > dwt-addons
comparison dwtx/jface/text/TypedPosition.d @ 160:3678e4f1a766
toHash, toString
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 02:07:22 +0200 |
parents | b6bad70d540a |
children | 1a5b8f8129df |
comparison
equal
deleted
inserted
replaced
159:7926b636c282 | 160:3678e4f1a766 |
---|---|
215 } | 215 } |
216 | 216 |
217 /* | 217 /* |
218 * @see java.lang.Object#hashCode() | 218 * @see java.lang.Object#hashCode() |
219 */ | 219 */ |
220 public int hashCode() { | 220 public override hash_t toHash() { |
221 int type= fType is null ? 0 : fType.hashCode(); | 221 int type= fType is null ? 0 : fType.toHash(); |
222 return super.hashCode() | type; | 222 return super.toHash() | type; |
223 } | 223 } |
224 } | 224 } |