示例#1
0
 //template <typename HashFunction>
 public static void abstract_hash_code(StdHashFunction hash, SafraTree t)
 {
     //todo: implemented this method
     t.hashCode(hash, true);
 }
示例#2
0
 public int hashCode()
 {
     StdHashFunction hash = new StdHashFunction();
     SafraTreeCandidateMatcher.abstract_hash_code(hash, _key);
     return hash.value();
 }
示例#3
0
 public override int GetHashCode()
 {
     StdHashFunction hash = new StdHashFunction();
     hashCode(hash);
     int value = hash.value();
     return value;
 }