Exemple #1
0
func (this *Publisher) HashCode() int {
	result := tk.HashType(tk.HASH_SEED, this)
	result = tk.HashLong(result, DefInt64(this.Id, 0))
	return result
}
Exemple #2
0
func (this *Board) HashCode() int {
	result := toolkit.HashType(toolkit.HASH_SEED, this)
	result = toolkit.HashLong(result, ext.DefInt64(this.Id, 0))
	return result
}
Exemple #3
0
func (this Long) HashCode() int {
	return tk.HashLong(tk.HASH_SEED, int64(this))
}