SyntaxFix
Write A Post
Hire A Developer
Questions
If they are two integers you can try a quick and dirty trick: Map<String, ?> using the key as i+"#"+j.
Map<String, ?>
i+"#"+j
If the key i+"#"+j is the same as j+"#"+i try min(i,j)+"#"+max(i,j).
j+"#"+i
min(i,j)+"#"+max(i,j)