Closed chennbnbnb closed 1 year ago
Hi, I notice this code use TreeSet as container of TaintFlow. TreeSet require TaintFlow must implement interface Comparable.
TreeSet
TaintFlow
Comparable
I wonder if it possible to replace TreeSet with HashSet, because element of HashSet doesn't have to be comparable.
HashSet
For a sorted result of TaintFlows that helps dump and compare result.
thx
Hi, I notice this code use
TreeSet
as container ofTaintFlow
.TreeSet
requireTaintFlow
must implement interfaceComparable
.I wonder if it possible to replace
TreeSet
withHashSet
, because element ofHashSet
doesn't have to be comparable.