#java hash

19 messages · Page 1 of 1 (latest)

bronze crownBOT
#

This post has been reserved for your question.

Hey @white salmon! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

hoary ice
#

So what's the problem?

white salmon
#

im trying to get the test right, but its not working

#

idk what to do else

timid moat
#

How are the equals and hashcode functions implemented?

#

as well as your randomValues function

hoary ice
timid moat
#

I see you've sent the entire Java file, but it'd be nice if you isolated just those bits for us and used the code block in Discord with proper syntax highlighting

white salmon
#

i thought its easier to understand with the whole code

#

hashCode and equals Method im kinda lost trying to make it work

trail marlin
#

its only the hashCode that doesn't work ?

white salmon
#

🥺 yeah right

trail marlin
#

do you have a a guideline how to structure the hashCode ?

trail marlin
white salmon
white salmon
bronze crownBOT
bronze crownBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.