What is the difference between type casting a set to HashSet and initializing a HashSet with a set?

后端 未结 0 2013
谎友^
谎友^ 2021-01-13 08:45

Suppose I have a Set of Integer values named values and I want to convert it to a HashSet. What is the difference between

相关标签:
回答
  • 消灭零回复
提交回复
热议问题