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