M
Monty Hall
Hello,
Suppose I have an object that's a vertex in a graph. Supppose I have a
vector that contains this vertex. Suppose I use the vector's
contain(Object) method. Does java first compare by memory reference ? Or
does it do a "deep" equals?
Monty.
Suppose I have an object that's a vertex in a graph. Supppose I have a
vector that contains this vertex. Suppose I use the vector's
contain(Object) method. Does java first compare by memory reference ? Or
does it do a "deep" equals?
Monty.