示例#1
0
 def get_hash_key(self, cut: Cut) -> bool:
     hash_str = cut.get_hash_str()
     return hash_str in self.hashmap
示例#2
0
 def set_hash_key(self, cut: Cut) -> None:
     hash_str = cut.get_hash_str()
     if hash_str not in self.hashmap:
         self.hashmap.append(hash_str)