did you know that
byte[] byte1 = {1,2,3};
byte[] byte2 = {1,2,3};
yields
byte1.equals(byte2) = false;
and
byte1.hashCode() != byte2.hashCode();
blows my mind man....
what is the best way to compute a byte[].hashCode()?
regards
marc
sorry for the newbie question :))))
________________________
Marc Fleury
Chief Technology Officer
Telkel, Inc.
________________________
- Re: [jBoss-Dev] [newbie] byte[].hashcode() marc fleury
- Re: [jBoss-Dev] [newbie] byte[].hashcode() Rickard �berg
- RE: [jBoss-Dev] [newbie] byte[].hashcode() marc fleury
- RE: [jBoss-Dev] [newbie] byte[].hashcode() Schaefer, Andreas
- RE: [jBoss-Dev] [newbie] byte[].hashcode() marc fleury
- Re: [jBoss-Dev] [newbie] byte[].hashcode() Andreas Schaefer
- RE: [jBoss-Dev] [newbie] byte[].hashcode() Dave King
- RE: [jBoss-Dev] [newbie] byte[].hashcode() Kabutz, Heinz
- RE: [jBoss-Dev] [newbie] byte[].hashcode() marc fleury
