예제 #1
0
파일: NBA2DRA.cs 프로젝트: nhannhan159/PAT
 //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;
 }