How to make set to allow duplicates in java
Does it allow? Can anyone explain with a program?
nope never duplis = set.toArray()
The only feature sets have is that they do not allow duplicates. Why do you want to take that away from them.
This is not necessary :) Use a List instead.
Don't be a mermaid and comb your hair with a fork - use tools for what they're meant for. ;-)
XXX, I've watched my share of disney movies. ;)
[THIS IS NOT AN ANSWER] HonFu how is your imagination so good?😜