protected int getVoteWinner()
{
int old = 0;
HashMap<Integer, Integer> temp = new HashMap<>();
for (int vote : votes.values())
{
if (!temp.containsKey(vote))
temp.put(vote, 1);
else
{
old = temp.get(vote);
old++;
temp.getEntry(vote).setValue(old);
}
}
int max = temp.head().getNext().getValue();
int result = temp.head().getNext().getKey();
for (Map.Entry<Integer, Integer> entry : temp.entrySet())
{
if (entry.getValue() > max)
{
max = entry.getValue();
result = entry.getKey();
}
}
votes.clear();
temp = null;
return result;
}
How do I solve this problem? Use aCis 350, replaces FastMap with HashMap and is giving this error.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hey everyone, as we all know, this forum’s been dead for ages, and despite my efforts, it’s still dead. Maxtor’s got everything up his bloody arse; he’s off enjoying some sort of dick-sucking festival. Anyway, I was asked to share the latest updates about the project, so here I am: after some recent chats, the project’s moved on to the next stage, and we’ll soon be opening registration for closed testing.
Small hints: Arena, x200, 1+1.
I’ll post more details and the website address soon.
PS I’m just a representative and a good mate of the people behind the project. From the old crew, I’m the only one who still remembers the password to this graveyard, so I’m just posting the updates here. Please don’t drag me into any drama again.
Discord : utchiha_market
Telegram : https://t.me/utchiha_market
Auto Buy Store : https://utchiha-market.mysellauth.com/
Not sure if we’re legit? Check Our server — real reviews, real buyers
https://discord.gg/uthciha-servicess | https://campsite.bio/utchihaamkt
Question
L2shaken
http://imgur.com/a/KJwdY
How do I solve this problem? Use aCis 350, replaces FastMap with HashMap and is giving this error.
Edited by L2shaken17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.