KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
equals
49 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
12
votes
7
answers
Casting in equals method
java
casting
equals
asked 2013-05-11T13:13:04.420
97
votes
1
answers
double equals vs is in python
python
comparison
boolean
equals
equality
asked 2013-02-21T17:17:57.830
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
29
votes
8
answers
Java - equals method in base class and in subclasses
java
equals
asked 2012-10-31T16:08:57.880
9
votes
3
answers
Ignore case in string comparison
python
equals
asked 2012-08-16T18:24:06.487
12
votes
6
answers
Java equals when equality can't be determined
java
equals
asked 2012-06-19T15:21:34.603
9
votes
5
answers
Two columns equal height only css (no display: table, table-row, table-cell)
css
height
equals
asked 2012-06-11T21:31:49.637
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
16
votes
5
answers
Difference between matches and equalsIgnoreCase or equals in string class
java
string
equals
asked 2012-03-14T10:28:17.947
13
votes
4
answers
How can I express that two values are not equal to eachother?
java
if-statement
equals
boolean-expression
asked 2011-12-03T04:57:36.400
17
votes
10
answers
Why equals and hashCode were defined in Object?
java
oop
equals
hashcode
asked 2011-11-13T18:39:44.940
8
votes
7
answers
Result of calling IEquatable<T>.Equals(T obj) when this == null and obj == null?
c#
.net
f#
equals
equality
asked 2011-11-11T13:54:04.413
171
votes
5
answers
What's the difference between == and .equals in Scala?
scala
equals
equality
scala-java-interop
asked 2011-10-06T22:23:46.577
9
votes
2
answers
Is there a compact way of telling the C# compiler to use the base Equals and == operator?
c#
c#-4.0
struct
overriding
equals
asked 2011-09-27T02:13:32.183
9
votes
3
answers
Comparing two strings with "==": when will it work?
java
string
object
equals
asked 2011-09-20T02:12:19.697
23
votes
6
answers
Why it is implied that objects are equal if compareTo() returns 0?
java
collections
equals
comparable
compareto
asked 2011-08-29T12:19:26.270
67
votes
7
answers
How do I test if a variable does not equal either of two values?
javascript
if-statement
conditional-statements
equals
boolean-logic
asked 2011-05-24T19:29:44.630
18
votes
3
answers
Equals vs GetHashCode when comparing objects
.net
comparison
equals
gethashcode
asked 2011-05-12T16:30:07.997
9
votes
8
answers
Java, Linux: how to detect whether two java.io.Files refer to the same physical file
java
file
unix
equals
asked 2011-05-04T12:18:23.590
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
24
votes
9
answers
Clean way of avoiding NullPointerException in equals checks
java
nullpointerexception
equals
coding-style
asked 2011-04-14T10:35:50.107
11
votes
11
answers
Comparator and equals()
java
equals
comparator
treeset
asked 2010-12-03T09:44:28.587
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
29
votes
4
answers
Equality between 2 HashMap
java
hashmap
equals
asked 2010-11-02T21:50:16.163
11
votes
3
answers
TreeSet and equals function
java
equals
comparator
treeset
asked 2010-09-07T03:15:13.493
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
36
votes
8
answers
Why equals() method when we have == operator?
java
equals
referenceequals
asked 2010-05-05T11:34:53.167
30
votes
6
answers
Java - is there a "subclassof" like instanceof?
java
subclass
equals
instanceof
asked 2010-04-23T15:25:04.287
196
votes
28
answers
How to check if my string is equal to null?
java
string
null
equals
conditional-operator
asked 2010-04-08T17:15:11.227
9
votes
3
answers
Equality relations in Scala
scala
scala-2.8
equals
equality
scala-collections
asked 2010-02-26T12:55:37.043
10
votes
3
answers
Two columns must not equal each other in Rails
ruby-on-rails
validation
model
equals
asked 2010-02-19T13:24:51.240
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
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
9
votes
7
answers
Most compact way to compare three objects for equality using Java?
java
equals
asked 2009-11-16T15:46:41.027
45
votes
3
answers
Is there a way to check if two Collections contain the same elements, independent of order?
java
collections
equals
asked 2009-10-14T09:31:46.113
12
votes
5
answers
Creating two delegate instances to the same anonymous method are not equal
c#
.net
delegates
anonymous-methods
equals
asked 2009-09-14T17:34:12.733
57
votes
5
answers
Is there a complete IEquatable implementation reference?
c#
.net
equals
gethashcode
iequatable
asked 2009-08-20T16:48:09.367
24
votes
8
answers
Why are these == but not `equals()`?
java
equals
asked 2009-08-11T11:08:02.107
45
votes
12
answers
Java comparison with == of two strings is false?
java
string
equals
asked 2009-06-15T12:47:26.537
63
votes
5
answers
Overriding GetHashCode for mutable objects?
c#
.net
overriding
equals
gethashcode
asked 2009-05-17T00:53:35.423
11
votes
9
answers
Comparing Character, Integer and similar types in Java: Use equals or ==?
java
equals
primitive
asked 2009-04-09T20:32:14.670
24
votes
4
answers
Findbugs warning: Equals method should not assume anything about the type of its argument
java
equals
findbugs
asked 2008-12-12T23:04:20.337
102
votes
3
answers
Is there a Java standard "both null or equal" static method?
java
null
equals
asked 2008-10-08T20:57:24.807
9
votes
9
answers
Java equals(): to reflect or not to reflect
java
reflection
equals
asked 2008-09-23T23:44:01.170
330
votes
20
answers
Best implementation for hashCode method for a collection
java
hash
equals
hashcode
asked 2008-09-22T06:53:35.333