comparison dwtx/jface/text/contentassist/ContextInformation.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
109 109
110 /* 110 /*
111 * @see java.lang.Object#hashCode() 111 * @see java.lang.Object#hashCode()
112 * @since 3.1 112 * @since 3.1
113 */ 113 */
114 public int hashCode() { 114 public override hash_t toHash() {
115 int low= fContextDisplayString !is null ? fContextDisplayString.hashCode() : 0; 115 int low= fContextDisplayString !is null ? fContextDisplayString.toHash() : 0;
116 return (fInformationDisplayString.hashCode() << 16) | low; 116 return (fInformationDisplayString.toHash() << 16) | low;
117 } 117 }
118 118
119 /* 119 /*
120 * @see IContextInformation#getInformationDisplayString() 120 * @see IContextInformation#getInformationDisplayString()
121 */ 121 */