KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
equality
48 questions
Follow Tag
Sort by:
Newest
Votes
Active
13
votes
2
answers
C++ object equality
c++
pointers
equality
asked 2013-05-30T18:22:23.920
21
votes
2
answers
Why don't methods have reference equality?
python
methods
identity
equality
asked 2013-04-12T17:51:52.657
11
votes
3
answers
Java - strings equals when decompiled
java
string
optimization
equality
string-interning
asked 2013-04-11T20:45:25.710
97
votes
1
answers
double equals vs is in python
python
comparison
boolean
equals
equality
asked 2013-02-21T17:17:57.830
12
votes
1
answers
In C#, why Equals() method on arrays only compare their references, not their actual content
c#
arrays
reference
equality
asked 2013-02-19T14:43:28.580
15
votes
2
answers
How is `Proc#==` evaluated?
ruby
equality
proc
asked 2013-01-23T19:17:40.523
9
votes
2
answers
Will the var members in case class affect case class's equality?
scala
equality
case-class
algebraic-data-types
asked 2013-01-15T23:54:44.027
8
votes
3
answers
Why Java does not support Equality comparison on the Lines of Comparator?
java
equality
asked 2012-09-12T14:14:14.250
21
votes
3
answers
Two different "strings" are the same object instance?
c#
string
reference
equality
asked 2012-05-28T04:39:31.457
12
votes
7
answers
Finding duplicate entries in Collection
java
collections
duplicates
equality
asked 2012-05-25T13:53:05.903
16
votes
3
answers
Why is == faster than eql?
ruby
string
benchmarking
equality
asked 2012-04-21T07:20:50.140
15
votes
2
answers
How expensive is comparing two unordered sets for equality?
c++
set
complexity-theory
equality
unordered-set
asked 2012-04-12T06:33:00.900
12
votes
2
answers
Checking for NaN presence in a container
python
python-3.x
containers
equality
nan
asked 2012-03-28T09:31:07.757
8
votes
3
answers
Why or how does this prove JavaScript array equality?
javascript
arrays
equality
asked 2012-02-17T19:30:15.640
135
votes
3
answers
Correct way to override Equals() and GetHashCode()
c#
equality
gethashcode
asked 2012-02-16T19:15:08.403
42
votes
5
answers
Set "in" operator: uses equality or identity?
python
set
identity
operator-keyword
equality
asked 2012-02-01T01:10:59.390
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
12
votes
4
answers
Implementing a geographic coordinate class: equality comparison
c#
geocoding
equality
asked 2011-07-21T10:48:35.240
188
votes
9
answers
Difference between String#equals and String#contentEquals methods
java
string
equality
asked 2011-06-25T07:54:30.857
13
votes
1
answers
java: comparing classes with == or .equals(): is there a difference?
java
class
equality
asked 2011-05-13T21:10:39.673
21
votes
5
answers
Can I overload an == operator on an Interface?
c#
.net
interface
equality
iequatable
asked 2011-02-21T13:02:42.187
106
votes
5
answers
Determining Date Equality in Javascript
javascript
date
equality
asked 2011-01-03T18:16:27.580
23
votes
4
answers
3 Equals or Case Equality operator
ruby
equality
commutativity
asked 2010-12-24T16:11:09.343
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
9
votes
6
answers
Cast to object before null check in overriding Equals
c#
casting
null
equality
asked 2010-11-05T12:01:37.660
20
votes
9
answers
Using the equality operator == to compare two strings for equality in C
c
string
pointers
equality
equality-operator
asked 2010-10-14T13:27:35.103
107
votes
7
answers
C# .Equals(), .ReferenceEquals() and == operator
c#
equality
asked 2010-10-06T05:02:35.593
32
votes
1
answers
isEqual doesn't always work for NSIndexPath? What can I use in its place?
objective-c
equality
iphone-sdk-3.2
nsindexpath
asked 2010-09-24T21:13:36.603
66
votes
2
answers
How do I check if two variables reference the same object in Python?
python
equality
asked 2010-09-05T19:54:34.930
73
votes
6
answers
What problem does IStructuralEquatable and IStructuralComparable solve?
.net
equality
icomparable
iequalitycomparer
asked 2010-08-31T14:09:45.363
17
votes
1
answers
Unexpected results with OCaml !=
ocaml
equality
asked 2010-06-16T16:20:04.310
19
votes
8
answers
Floating point equality in Python and in general
python
floating-point
equality
asked 2010-06-15T21:15:40.807
20
votes
4
answers
How do I ignore the UTF-8 Byte Order Marker in String comparisons?
c#
unit-testing
visual-studio-2010
utf-8
equality
asked 2010-05-26T17:07:30.927
304
votes
3
answers
Is False == 0 and True == 1 an implementation detail or is it guaranteed by the language?
python
boolean
equality
language-specifications
asked 2010-05-04T09:03:30.200
9
votes
3
answers
Equality relations in Scala
scala
scala-2.8
equals
equality
scala-collections
asked 2010-02-26T12:55:37.043
88
votes
2
answers
Test for equality to the default value
c#
generics
equality
asked 2009-12-13T06:42:56.627
16
votes
3
answers
JavaScript: {}==false is a SyntaxError?
javascript
syntax-error
equality
asked 2009-10-02T13:34:46.330
324
votes
7
answers
How do you test to see if a double is equal to NaN?
java
double
equality
nan
asked 2009-09-21T20:09:21.717
13
votes
11
answers
Is relational comparison between int and float directly possible in C?
c
floating-point
comparison
equality
asked 2009-07-21T19:22:00.157
47
votes
3
answers
Implementing -hash / -isEqual: / -isEqualTo...: for Objective-C collections
objective-c
cocoa
data-structures
equality
chdatastructures
asked 2009-07-10T22:59:26.787
34
votes
3
answers
When should you use === vs ==, !== vs !=, etc.. in javascript?
javascript
equality
asked 2009-07-07T20:02:20.513
10
votes
5
answers
set equality in linq
c#
linq
set
equality
asked 2009-06-03T14:37:52.603
166
votes
8
answers
LINQ Select Distinct with Anonymous Types
c#
linq
distinct
anonymous-types
equality
asked 2009-02-12T21:46:57.497
10
votes
6
answers
How to compare two elements of the same but unconstrained generic type for equality?
c#
class
generics
struct
equality
asked 2008-12-03T11:44:41.190
272
votes
16
answers
Best practices for overriding isEqual: and hash
objective-c
equality
asked 2008-10-31T17:22:25.783
1037
votes
77
answers
How can I determine equality for two JavaScript objects?
javascript
object
equality
hashcode
asked 2008-10-14T13:41:07.357
49
votes
10
answers
What is "Best Practice" For Comparing Two Instances of a Reference Type?
c#
.net
comparison
operator-overloading
equality
asked 2008-09-19T18:07:02.760