First time here? Check out the FAQ!
answered 2013-05-30 03:13:02 -0600
How about
if (a.data == b.data) {...}