6 Topics

Member Avatar for
Member Avatar for Forte1292

I have the numbers 0-8 so I can represent a state as 012345678 012345687 .... 876543201 876543210 This gives me 40320 ways to represent a state so I have a HashMap of size 40320 and I need a good way to make sure each state only corresponds to 1 key …

Member Avatar for Momerath
0
257
Member Avatar for Delocaz

I'm looking for how to brute-force the result of something like [ICODE]"Hi".hashCode()[/ICODE]. I have no idea where to start. I looked for the answer for like 5 hours yesterday. It's for reversing Minecraft seeds. (seed-to-text). I tried my own solution. It's too crap to even post. I tried to find …

Member Avatar for Delocaz
0
1K
Member Avatar for megansims07

I'm attempting to create a program where the login and password will be verified on an SQL database of user information. I keep getting the error "SQL Execution was unhandled" I marked the code that was causing the error in red. I'm using Visual Studio 8. Keep in mind I …

Member Avatar for lolafuertes
0
192
Member Avatar for megansims07

I'm attempting to create a program where the login and password will be verified on an SQL database of user information. I keep getting the error "SQL Execution was unhandled" I marked the code that was causing the error in red. I'm using Visual Studio 8. Keep in mind I …

0
115
Member Avatar for chico9

[CODE] public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((temp1== null) ? 0 : temp1.hashCode()); result = prime * result + ((temp2== null) ? 0 : temp2.hashCode()); return result; }[/CODE] I don't really understand about haschodes, yet, so I …

Member Avatar for chico9
0
350
Member Avatar for Alpdog14

I have a Coin class that compares weight and value and I need help developing a hashcode and Junit tests to test them, here is my class: [CODE]public class Coin implements Comparable<Coin>{ public static final int CENT=1, NICKEL=5, DIME=10, QUARTER=25; private int value; private double weight; public double getWeight(){ return …

Member Avatar for JamesCherrill
0
181

The End.