why use TreeSet() to store TaintFlow instance?
chennbnbnb opened this issue · 2 comments
chennbnbnb commented
Hi, I notice this code use TreeSet
as container of TaintFlow
.
TreeSet
require TaintFlow
must implement interface Comparable
.
I wonder if it possible to replace TreeSet
with HashSet
, because element of HashSet
doesn't have to be comparable.
zhangt2333 commented
For a sorted result of TaintFlow
s that helps dump and compare result.
chennbnbnb commented
thx