KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
hashcode
40 questions
Follow Tag
Sort by:
Newest
Votes
Active
11
votes
4
answers
hashcode() and equals() method
java
equals
hashcode
hashset
asked 2013-07-29T08:40:33.773
37
votes
5
answers
Is it proper for equals() to depend only on an ID?
java
oop
overriding
equals
hashcode
asked 2013-06-08T20:16:19.483
38
votes
1
answers
What's behind the hashCode() method for String in Java?
java
hashcode
asked 2013-03-20T08:18:26.887
8
votes
2
answers
Why in Enum hashCode() refers to the Object hashCode() implementaion, instead of ordinal() function?
java
enums
hashcode
jls
asked 2013-03-06T07:53:50.310
10
votes
6
answers
Java hashCode() method override is not needed if we don't use hashmap or hashset
java
equals
hashcode
asked 2013-02-08T20:35:31.437
8
votes
7
answers
hashCode() purpose in Java
java
hashcode
asked 2013-02-06T17:32:07.047
22
votes
2
answers
"Normalizing" BigDecimal's hash code: howto?
java
guava
hashcode
bigdecimal
asked 2013-01-14T02:33:22.650
9
votes
3
answers
Is there any reason to use Apache HashCodeBuilder over Objects.hash?
java
hashcode
asked 2012-11-29T20:09:25.290
13
votes
2
answers
Using a larger prime as a multiplier when overriding hashCode()
java
hash
hashcode
primes
asked 2012-08-22T15:48:21.737
8
votes
2
answers
Java: Only check hashCode in equals() of immutable object
java
equals
immutability
guava
hashcode
asked 2012-04-18T00:23:21.690
8
votes
5
answers
Different Enum HashCode generation?
java
interface
enums
hashcode
asked 2012-02-24T18:18:12.203
44
votes
4
answers
What is the difference between `##` and `hashCode`?
scala
hashcode
asked 2012-01-30T17:35:43.433
17
votes
10
answers
Why equals and hashCode were defined in Object?
java
oop
equals
hashcode
asked 2011-11-13T18:39:44.940
23
votes
6
answers
how to get hash code of a string in c++
c++
string
hash
hashcode
asked 2011-11-11T13:42:25.007
34
votes
4
answers
Why do 2 delegate instances return the same hashcode?
c#
.net
delegates
hashcode
asked 2011-07-08T12:03:14.877
267
votes
15
answers
How does a Java HashMap handle different objects with the same hash code?
java
hashmap
hashcode
hash-function
asked 2011-06-27T13:31:40.790
17
votes
2
answers
How to customize hashCode() and equals() generated by Eclipse?
java
eclipse
hashcode
eclipse-jdt
asked 2011-06-06T16:38:54.683
9
votes
9
answers
Unit testing equals and hashcode - a complexity story
java
unit-testing
complexity-theory
equals
hashcode
asked 2011-04-23T13:18:38.263
16
votes
4
answers
HashSet contains problem with custom objects
java
hashcode
hashset
asked 2011-02-24T20:56:41.277
13
votes
2
answers
Is Dictionary broken or should GetHashCode() only base on immutable members?
c#
.net
dictionary
immutability
hashcode
asked 2011-02-01T22:57:27.863
129
votes
6
answers
How will Object's .equals and .hashCode will work for my classes?
java
object
equals
hashcode
equality
asked 2010-11-14T18:40:06.000
18
votes
1
answers
How can I get checkstyle to skip equals() and hashcode() methods generated by eclipse?
java
eclipse
equals
hashcode
checkstyle
asked 2010-11-11T19:11:04.993
11
votes
7
answers
How should I define a good hashCode for a circular linked list in Java?
java
overriding
hashcode
circular-list
asked 2010-09-19T19:45:51.243
208
votes
9
answers
Why use a prime number in hashCode?
java
hashcode
primes
asked 2010-08-31T20:46:23.743
9
votes
1
answers
How to implement equals() and hashcode() methods in BaseEntity of JPA?
java
jpa
equals
hashcode
tostring
asked 2010-06-30T07:20:02.800
9
votes
5
answers
is it incorrect to define an hashcode of an object as the sum, multiplication, whatever, of all class variables hashcodes?
c#
java
.net
hashcode
asked 2010-04-29T05:52:05.560
552
votes
31
answers
Why do I need to override the equals and hashCode methods in Java?
java
equals
hashcode
asked 2010-02-15T11:17:59.683
74
votes
10
answers
Overriding equals() & hashCode() in sub classes ... considering super fields
java
inheritance
overriding
equals
hashcode
asked 2010-01-14T19:26:43.393
13
votes
2
answers
Isn't 'int GetHashCode' a bit short-sighted?
.net
hashcode
asked 2010-01-14T14:11:19.910
12
votes
3
answers
A quick string checksum function in Perl generating values in the 0..2^32-1 range
perl
string
checksum
cpan
hashcode
asked 2009-12-22T12:53:12.903
64
votes
9
answers
Understanding the workings of equals and hashCode in a HashMap
java
hashmap
equals
hashcode
asked 2009-12-12T19:00:10.177
23
votes
1
answers
How does Object.GetHashCode work when the GC moves an object?
.net
hashcode
asked 2009-11-10T12:03:06.773
118
votes
10
answers
Quick and Simple Hash Code Combinations
c#
algorithm
hash
hashcode
asked 2009-10-29T21:53:21.353
24
votes
4
answers
ConcurrentHashMap constructor parameters?
java
hashcode
concurrenthashmap
asked 2009-10-15T17:30:41.087
23
votes
4
answers
Java - TreeSet and hashCode()
java
hashcode
treeset
asked 2009-09-24T09:55:48.047
77
votes
5
answers
How does the JVM ensure that System.identityHashCode() will never change?
java
jvm
hashcode
heap-memory
asked 2009-06-30T10:57:42.230
150
votes
8
answers
Consistency of hashCode() on a Java string
java
string
hashcode
asked 2009-04-24T09:11:04.903
9
votes
9
answers
Implementing `hashCode()` for very simple classes
java
hashcode
asked 2009-01-30T19:07:17.020
1037
votes
77
answers
How can I determine equality for two JavaScript objects?
javascript
object
equality
hashcode
asked 2008-10-14T13:41:07.357
330
votes
20
answers
Best implementation for hashCode method for a collection
java
hash
equals
hashcode
asked 2008-09-22T06:53:35.333