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